Can I mount USB drives with predictable mount points?

Karl Auer kauer at biplane.com.au
Tue Sep 4 02:04:18 UTC 2007


Hi there.

I would like to be able to ensure that a particular external (USB) hard
disk drive always ends up mounted on the same mount point, regardless of
when I plug it in or what other external drives are already connected.

At the moment, the mount points used for drives depends on the order
they are connected in. If I have two drives, A and B, and I plug in
drive A first, it ends up mounted on /media/usbdisk. If I plug in drive
B first, and then drive A, drive B ends up on /media/usbdisk, and drive
A gets /media/usbdisk1 instead.

Is there any way to make sure that drive A always gets /media/usbdisk
(or whatever)? The drives are currently being mounted automatically via
udev. Obviously I could mount them manually or with  scripts, but I'd
rather it was automatic.

Any ideas?

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)





More information about the ubuntu-users mailing list