Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Udev rules for identical hard drives
Date: Thu, 02 Aug 2012 00:55:14
Message-Id: CADPrc83Jp=wOrfzYxaaMzzkyZX7ic9L4swB2GAqyBnV2t3UKZg@mail.gmail.com
In Reply to: Re: [gentoo-user] Udev rules for identical hard drives by Alex Schuster
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

Replies

Subject Author
Re: [gentoo-user] Udev rules for identical hard drives Alex Schuster <wonko@×××××××××.org>