[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-hotplug
Subject:    Re: udev Alias Rules
From:       Kay Sievers <kay.sievers () vrfy ! org>
Date:       2010-02-26 15:10:31
Message-ID: ac3eb2511002260710o6c671e1bud159234ef36ba7f8 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Feb 26, 2010 at 07:01, Ryan Dallas <anonybosh@gmail.com> wrote:
> Hi,
> I'm using Gentoo, udev 146 and the Gentoo Hardened 2.6.28 kernel.
> I have a few virtually identical external USB Seagate harddrives that
> I am trying to write some udev rules for, however I've run into a
> problem. When I run 'udevadm info --name=/dev/{device path}
> --attribute-walk', I am not able to find any unique, static attribute.
> The ATTRS{serial}=="0000:02:07.2" seems to be some USB access path,
> and any others seem to be rather generic or generated upon plugging
> the drive in.
> With the lsusb tool, I am able to find each drives specific, static
> serial number (ex. SG054401529), however these do not show up in the
> attribute walk. Is there any way to "access" this attribute via udev
> so that I can write rules specifically for each drive?
> I have attached the output of both udevadm (sdc1.txt) and lsusb (usb.txt).

What's missing from /dev/disk/by-*/ links?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic