Can I mount USB drives with predictable mount points?
alex at ourwoods.org
Tue Sep 4 02:14:58 UTC 2007
Karl Auer said the following on 09/03/2007 10:04 PM:
> 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.
Give the usb disk a volume name. The name will be used as the mount
point(/media/volumename). At least it works that way for my usb drives
that are FAT32.
An idea is not responsible for the people who believe in it. (26)
More information about the ubuntu-users