Andrei Popescu put forth on 4/17/2011 3:12 AM:

> /dev/disk/by-id/
> /dev/disk/by-label/ # assuming you defined labels
> /dev/disk/by-path/
> /dev/disk/by-uuid/
> 
> I prefer labels since they can be set to something meaningful/mnemonic.

Yes, I use labels for partitions as well, more for organizational
reasons than addressing though, for example:

lrwxrwxrwx 1 root root  10 Jan 18 23:38 boot -> ../../sda1
lrwxrwxrwx 1 root root  10 Jan 18 23:38 home -> ../../sda6
lrwxrwxrwx 1 root root  10 Jan 18 23:38 root -> ../../sda2
lrwxrwxrwx 1 root root  10 Jan 18 23:38 samba -> ../../sda7

Although to be honest, I never address them by label when running disk
or filesystem utilities, mostly due to RSI concerns, for instance:

xfs_info /dev/sda7

is much easier on the fingers than

xfs_info /dev/disk/by-label/samba

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dabb156.1080...@hardwarefreak.com

Reply via email to