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

Re: Problem with udev rules under etch



Hi,

In article <[🔎] 462C8D8D.3090406@noctus.net>,
           Mathias Brodala<info@noctus.net> wrote:
> How do you expect your rule to match these properties?
>
> You say:
>
>> SUBSYSTEMS=3D=3D"scsi"
>
> But it is 'SUBSYSTEM=3D=3D"block"' instead.

The bit that contains the 'ZIP 100' is the 'scsi' subsystem, not the 'block'
subsystem.

> You say:
>
>> ATTR{model}=3D=3D"ZIP 100"
>
> But it is 'ATTRS{model}=3D=3D"ZIP 100         "' instead.

The udev manual says that trailing whitespace is ignored.

> And besides: you cannot mix properties of two different device sections. =
> Have a
> look at how to write udev rules[0] properly.

I don't think I am mixing sections. The 'ZIP 100' string is in the 'scsi'
section.

Or am I misreading it?

Thanks

Andy



Reply to: