udev rules -- file names -- just wondering??

Patrick O'Callaghan pocallaghan at gmail.com
Sun Aug 2 19:32:50 UTC 2009


On Sun, 2009-08-02 at 15:13 -0400, Mail Lists wrote:
> On 08/02/2009 01:56 PM, Todd Zullinger wrote:
> > I wouldn't say udev(1) is silent on the matter.  It just doesn't use
> > the word(s) you might be searching for to describe the behavior. ;)
> > 
> >    Rules files
> >        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.
> > 
> > The operative phrase being '...sorted and processed in lexical order.'
> > 
> > 
> 
>  Numbers and lexical order are not always ideal ... which is processed
> first:
> 
>        a) 99-xxx
> 
>        b) 100-xxx

100-xx goes before 99-xx. You'll notice that there are no scripts
numbered above 99. Same with /etc/rc?.d. If there were a need for more
than 100 scripts, they could be renumbered 000-xx to 999-xx.

poc




More information about the fedora-list mailing list