Request for comments: Is this how to create named links for USB
volumes/partitions?
Kay Sievers
kay.sievers at vrfy.org
Tue Jul 11 03:37:40 PDT 2006
On Tue, Jul 11, 2006 at 11:27:50AM +0200, Peter Valdemar Mørch wrote:
> Since the sequence of inserting a USB disk/key determines what device
> designation it gets (e.g. /dev/sda or /dev/sdb), I wanted to create
> links to these dynamic device names for the contained volumes, so they
> get predeterimined names, and I can reference them symbolically
> regardless of what sequence they happened to be inserted in today.
>
> Is this the easiest way? Is there a better/easier one?
This is long solved by udev and the persistent device naming for disks.
On recent distros you find /dev/disk/by-id,by-label,by-uuid,by-path
maintained by udev.
Kay
More information about the hal
mailing list