On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster <wo...@wonkology.org> wrote: > Canek Peláez Valdés writes: [ snip ] >> Oh, and I forgot; doesn't the links in /dev/disk/by-id, >> /dev/disk/by-label, /dev/disk/by-uuid do what you want to? > > Those seem to list partitions only, not whole drives. A label for a drive > would be nice to have.
I'm pretty sure whole drives are there also: $ ll /dev/disk/by-id ... ata-SAMSUNG_HD160JJ_S08HJ10YC13279 -> ../../sda ... That's a whole drive right there. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México