summaryrefslogtreecommitdiff
path: root/udev/udev.xml
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-08-09 14:05:01 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-08-09 14:05:01 +0200
commit8ef5af2db83cea4b7d2d02f1fed71fca82f9e20d (patch)
treea1c7165219dda98d21d9c8a7675938e43bde86c0 /udev/udev.xml
parent661c67953de513bbcabc9ed6147801c44846fdbb (diff)
ignore duplicated rules file names
Diffstat (limited to 'udev/udev.xml')
-rw-r--r--udev/udev.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/udev/udev.xml b/udev/udev.xml
index c740c0d807..51e2fdc84e 100644
--- a/udev/udev.xml
+++ b/udev/udev.xml
@@ -74,8 +74,15 @@
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. Every line in the rules file contains at least
- one key value pair. There are two kind of keys, match and assignment keys.
+ in which of these directories they live.</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>Every line in the rules file contains at least one key value pair.
+ There are two kind of keys, match and assignment keys.
If all match keys are matching against its value, the rule gets applied and the
assign keys get the specified value assigned.</para>