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

Dennis Kaarsemaker dennis at kaarsemaker.net
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: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050702/36651c59/attachment.pgp>


More information about the ubuntu-users mailing list