Paul Stagnoli wrote:
Dumb question, but... Have you tried the AUTOFS package? It works for
my USB drives automagically.

Paul:

I think I did look at autofs ... but, from my research, it would mount
ANY usb drive that is attached at specified points.

I was looking for a way to mount specific USB drives on specific mount
points.

Also, what distribution are you using? The
distro sometimes dictates a different answer...

Fedora Core 6.

FWIW: I did find a solution ... rather than use udev, I'm using the UUID
of the drive (which is supposed to be unique).

To determine the UUID of the partition I want to mount, I use the blkid
command.

[root@rivendell ~]# blkid /dev/sdb1
/dev/sdb1: UUID="42737f77-2849-4729-b91d-9094bf935947" SEC_TYPE="ext2"
TYPE="ext3"

And then add the following to my /etc/fstab file ...

UUID="42737f77-2849-4729-b91d-9094bf935947" /nobackup2 ext3
suid,sync,defaults,exec,nodev,noauto 0 0

Seems to work fine.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.