How to assign a specific /dev device to a specific external device?

Dennis Kaarsemaker dennis at
Sat Jul 2 18:34:29 UTC 2005

On za, 2005-07-02 at 12:18 -0600, zer0halo wrote:

> For example, when I plug in my thumbdrive, sometimes it's assigned to
> /dev/sda1, but other times it might be assigned /dev/sda2 or
> /dev/sdb1. So it's not possible to put an entry in my /etc/fstab that
> always mount a particular device to the same mount point because I
> don't know what /dev that device might get assigned when it gets
> plugged in.

Hotplug in hoary should take care of this and should mount any removable
drive under /media/$LABEL where $LABEL is the label that the drive has.
Dennis K.
  - Linux for human beings:
  - Linux voor normale mensen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list