Re: arbitrary disk name assignment affects dump/restore
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
Reply to: