FC12 udev rules

T. Horsnell tsh at mrc-lmb.cam.ac.uk
Wed Mar 3 13:49:15 UTC 2010


Patrick O'Callaghan wrote:
> On Wed, 2010-03-03 at 10:54 +0000, T. Horsnell wrote:
>>> That rule has moved into /lib/udev/rules.d/.  And AFAIK udev reads
>> all
>>> rules in and evaluates all the matches in order.  Honestly I'm not
>> an
>>> expert, so don't take this as gospel, but I'm pretty sure you have
>> to
>>> explicitly do something to make udev bail completely partway through
>>> those evaluations.
>>>
>>>
>> Many thanks for that info. The file I need is right there
>> in /lib/udev/rules.d.
>> But what is the stuff still in /etc/udev/rules.d/ used for I wonder...
> 
> Take a look at udev(7), where it says:
> 
> The udev rules are read from the files located in the default rules directory /lib/udev/rules.d/, the custom rules directory
>        /etc/udev/rules.d/ and the temporary rules directory /dev/.udev/rules.d/. All rule files are sorted and processed in lexical
>        order, regardless in which of these directories they live.
> 
> IOW, RTFM :-)
> 
> poc
> 

Thanks and apologies for being a timewaster!

Cheers,
Terry


More information about the users mailing list