From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3DDC913800E for ; Thu, 2 Aug 2012 09:22:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC34BE07DF; Thu, 2 Aug 2012 09:22:08 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id E1549E07CC for ; Thu, 2 Aug 2012 09:20:37 +0000 (UTC) Received: from weird.wonkology.org (xdsl-84-44-155-77.netcologne.de [84.44.155.77]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 1AB3ADC048 for ; Thu, 2 Aug 2012 11:20:37 +0200 (CEST) Date: Thu, 2 Aug 2012 11:20:36 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Udev rules for identical hard drives Message-ID: <20120802112036.61631fa1@weird.wonkology.org> In-Reply-To: References: <20120802013404.3c67615a@weird.wonkology.org> <20120802024236.0c12da7c@weird.wonkology.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6e4b726c-4ffc-4f43-ac7e-85a5359cbe1a X-Archives-Hash: b4b6bdf1900c6d7674d4003a01213602 Canek Pel=E1ez Vald=E9s writes: > On Wed, Aug 1, 2012 at 7:42 PM, Alex Schuster > wrote: > > Canek Pel=E1ez Vald=E9s 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. >=20 > I'm pretty sure whole drives are there also: >=20 > $ ll /dev/disk/by-id > ... > ata-SAMSUNG_HD160JJ_S08HJ10YC13279 -> ../../sda > ... >=20 > That's a whole drive right there. Wow, now I feel really stupid :) You are so right, they are there, and I don't why I overlooked them... too many entries there maybe, I have 140. But still. Stuuupid! Thanks, Canek! Wonko