aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-11-22 23:51:17 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-11-22 23:51:17 +0100
commit1021e6dfcc339728d83bfa5a3e8cd73bb37dbcef (patch)
tree16fdafb1cb840788b9c0f9c9e4e1b07f34ccee09
parentd35f72041885f4bb2c531dd3a5a765b276e365e9 (diff)
downloadudev-1021e6dfcc339728d83bfa5a3e8cd73bb37dbcef.tar.gz
man: clarify 'config file stack'
-rw-r--r--udev/udev.xml20
1 files changed, 12 insertions, 8 deletions
diff --git a/udev/udev.xml b/udev/udev.xml
index a7853485..ab82012c 100644
--- a/udev/udev.xml
+++ b/udev/udev.xml
@@ -71,14 +71,18 @@
<refsect2><title>Rules files</title>
<para>The udev rules are read from the files located in the
- default rules directory <filename>/lib/udev/rules.d/</filename>,
- the custom rules directory <filename>/etc/udev/rules.d/</filename>
- and the temporary rules directory <filename>/run/udev/rules.d/</filename>.
- All rule files are collectively sorted and processed in lexical order,
- regardless of the directories in which they live. However, files in
- <filename>/etc/udev/rules.d/</filename> take 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>
+ system rules directory <filename>/lib/udev/rules.d/</filename>,
+ the local administration directory <filename>/etc/udev/rules.d/</filename>
+ and the volatile runtime directory <filename>/run/udev/rules.d/</filename>.
+ All rules files are collectively sorted and processed in lexical order,
+ regardless of the directories in which they live. However, files with
+ identical file names replace each other. Files in <filename>/run</filename>
+ have the highest priority, files in <filename>/etc</filename> take precedence
+ over files with the same name in <filename>/lib</filename>. This can be
+ used to overwrite a system rules file if needed; a symlink in
+ <filename>/etc</filename> with the same name as a rules file in
+ <filename>/lib</filename>, pointing to <filename>/dev/null</filename>,
+ disables the rules file entirely.</para>
<para>Rule files must have the extension <filename>.rules</filename>; other
extensions are ignored.</para>