Can I mount USB drives with predictable mount points?

Marnes mmmaaarrrnnneeesss at
Tue Sep 4 03:26:37 UTC 2007

change volume labels:

to fat and ntfs:
sudo  mkdosfs  -n  myusblabel  /dev/sdb1   (change sdb1 to the
appropriate device)

to ext2/3:
sudo  e2label  /dev/sdb1  myusblabel       (idem)

put different labels in different usbdisks, for example, "mymp3",
"hdbackup", ...

when you mount, they will be always in

On 9/3/07, Karl Auer <kauer at> wrote:
> 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                   +61-2-64957160 (h)
>                  +61-428-957160 (mob)
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list