1 |
Canek Peláez Valdés writes: |
2 |
|
3 |
> On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster <wonko@×××××××××.org> |
4 |
> wrote: |
5 |
> > Canek Peláez Valdés writes: |
6 |
> [ snip ] |
7 |
> >> Oh, and I forgot; doesn't the links in /dev/disk/by-id, |
8 |
> >> /dev/disk/by-label, /dev/disk/by-uuid do what you want to? |
9 |
> > |
10 |
> > Those seem to list partitions only, not whole drives. A label for a |
11 |
> > drive would be nice to have. |
12 |
> |
13 |
> I'm pretty sure whole drives are there also: |
14 |
> |
15 |
> $ ll /dev/disk/by-id |
16 |
> ... |
17 |
> ata-SAMSUNG_HD160JJ_S08HJ10YC13279 -> ../../sda |
18 |
> ... |
19 |
> |
20 |
> That's a whole drive right there. |
21 |
|
22 |
Wow, now I feel really stupid :) You are so right, they are there, and I |
23 |
don't why I overlooked them... too many entries there maybe, I have 140. |
24 |
But still. Stuuupid! |
25 |
|
26 |
Thanks, Canek! |
27 |
|
28 |
Wonko |