[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Udev rule for external hard-drive



On Tue, Aug 10, 2010 at 10:08 AM, Camaleón <noelamac@gmail.com> wrote:
> On Tue, 10 Aug 2010 09:48:35 -0700, Brian Troutwine wrote:
>
>> On Tue, Aug 10, 2010 at 1:27 AM, Camaleón wrote:
>
>> I _believe_ that it is, but I am new to reading udevinfo output.
>
> Mmm, by reading the bunch of data you've sent, I don't think so. Look:
>
> ATTRS{serial}=="57442D575839314133303236343538"
>
> Is on the same "parent device" that:
>
> SUBSYSTEMS=="usb"
>
> But no "scsi". Try by correcting that and test again. It should be
> something like:
>
> ***
> SUBSYSTEM=="block", SUBSYSTEMS=="usb", ATTRS{serial}=="57442D575839314133303236343538", SYMLINK+="external%n"
> ***

Ah, that was indeed the problem: bad subsystem. I was simply reading
the udevinfo output incorrectly.

Thank you, Camaleón.

--
Brian


Reply to: