summaryrefslogtreecommitdiff
path: root/src/udev.xml
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-03-14 14:52:45 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-03-14 18:10:59 +0100
commit91418155ae9034f466d436c314cd136309bc557d (patch)
treefe1c36a0659e36a0bfe75a0d55b9c55d5691f2de /src/udev.xml
parent4b50a3d0048d13f6e37126f20f96e8bef262cbe2 (diff)
rules sort order: /lib, /run, /etc
After long consideration we came to the conclusion that user configuration in /etc should always override the (generally computer generated) configuration in /run. User configuration should always be what matters over anything else. Hence rearrange the search orders accordingly. In general this should change very little as overriding like this is seldomn done so far, and the order between /etc and /usr stays the same.
Diffstat (limited to 'src/udev.xml')
-rw-r--r--src/udev.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/udev.xml b/src/udev.xml
index 4de434ee51..8eb583a823 100644
--- a/src/udev.xml
+++ b/src/udev.xml
@@ -72,15 +72,15 @@
<refsect2><title>Rules files</title>
<para>The udev rules are read from the files located in the
system rules directory <filename>/usr/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>.
+ the volatile runtime directory <filename>/run/udev/rules.d</filename>
+ and the local administration directory <filename>/etc/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
+ identical file names replace each other. Files in <filename>/etc</filename>
+ have the highest priority, files in <filename>/run</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
+ used to override a system-supplied rules file with a local 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>
@@ -343,7 +343,7 @@
<varlistentry>
<term><option>OWNER, GROUP, MODE</option></term>
<listitem>
- <para>The permissions for the device node. Every specified value overwrites
+ <para>The permissions for the device node. Every specified value overrides
the compiled-in default value.</para>
</listitem>
</varlistentry>