diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2010-08-20 12:19:23 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-08-20 12:19:23 +0200 |
commit | 6593e8961afbe0b74d5a67c545a991c7733e88df (patch) | |
tree | a8fb9a295da6a95c79565b63b22dd1bcfb5d2f6b | |
parent | f7b877ec498486a446c3f9239fe1aad62b79baf8 (diff) |
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
-rw-r--r-- | udev/udev.xml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/udev/udev.xml b/udev/udev.xml index 20c394c28b..336b203bec 100644 --- a/udev/udev.xml +++ b/udev/udev.xml @@ -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. |