udev(7): Point out required extension, and remove some confusion

Rules files must end in .rules.

Also drop the redundant and confusing sentence about "file names must be
unique". What is really meant is explained in a better way in the paragraph
above.

https://launchpad.net/bugs/616108
This commit is contained in:
Martin Pitt 2010-08-20 12:19:23 +02:00
parent f7b877ec49
commit 6593e8961a

View file

@ -75,12 +75,13 @@
the custom rules directory <filename>/etc/udev/rules.d/</filename>
and the temporary rules directory <filename>/dev/.udev/rules.d/</filename>.
All rule files are sorted and processed in lexical order, regardless
in which of these directories they live.</para>
in which of these directories they live. Files in
<filename>/etc/udev/rules.d/</filename> have precedence over files with
the same name in <filename>/lib/udev/rules.d/</filename>. This can be
used to ignore a default rules file if needed.</para>
<para>Rule files are required to have a unique name, duplicate file names
are ignored. Files in <filename>/etc/udev/rules.d/</filename> have precedence
over files with the same name in <filename>/lib/udev/rules.d/</filename>. This
can be used to ignore a default rules file if needed.</para>
<para>Rule files must end in <filename>.rules</filename>, other extensions
are ignored.</para>
<para>Every line in the rules file contains at least one key value pair.
There are two kind of keys, match and assignment keys.