<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>
<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>
<term><option>RUN</option></term>
<listitem>
<para>Add a program to the list of programs to be executed for a specific
- device. This can only be used for very short running tasks. Running an
- event process for a long period of time may block all further events for
- this or a dependent device. Long running tasks need to be immediately
- detached from the event process itself.</para>
+ device.</para>
<para>If no absolute path is given, the program is expected to live in
/usr/lib/udev, otherwise the absolute path must be specified. The program
name and following arguments are separated by spaces. Single quotes can
be used to specify arguments with spaces.</para>
+ <para>This can only be used for very short running tasks. Running an
+ event process for a long period of time may block all further events for
+ this or a dependent device. Starting daemons or other long running processes
+ is not appropriate for udev.</para>
</listitem>
</varlistentry>