1 |
On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster <wonko@×××××××××.org> wrote: |
2 |
> Canek Peláez Valdés writes: |
3 |
[ snip ] |
4 |
>> Oh, and I forgot; doesn't the links in /dev/disk/by-id, |
5 |
>> /dev/disk/by-label, /dev/disk/by-uuid do what you want to? |
6 |
> |
7 |
> Those seem to list partitions only, not whole drives. A label for a drive |
8 |
> would be nice to have. |
9 |
|
10 |
I'm pretty sure whole drives are there also: |
11 |
|
12 |
$ ll /dev/disk/by-id |
13 |
... |
14 |
ata-SAMSUNG_HD160JJ_S08HJ10YC13279 -> ../../sda |
15 |
... |
16 |
|
17 |
That's a whole drive right there. |
18 |
|
19 |
Regards. |
20 |
-- |
21 |
Canek Peláez Valdés |
22 |
Posgrado en Ciencia e Ingeniería de la Computación |
23 |
Universidad Nacional Autónoma de México |