chiark / gitweb /
udevd: clarify worker exit status
[elogind.git] / udev / udevd.xml
index 02a6543235f99819bf42c0e91931a263adfdefd6..d335e2ec88b019e86a12ec936ec7eee3548909fe 100644 (file)
   </refsynopsisdiv>
 
   <refsect1><title>Description</title>
-    <para>udevd listens to kernel uevents and executes the instructions specified
-    in rules. On startup the content of the directory
-    <filename>/lib/udev/devices</filename> is copied to <filename>/dev</filename>.
-    If kernel modules specify static device nodes, these nodes are created
-    even wihtout a corresponding kernel device, to allow on-demand loading of kernel
-    modules. Matching permissions specified in udev rules are applied to these
-    static device nodes. The behavior of the running daemon can be changed with
+    <para>udevd listens to kernel uevents. For every event, udevd executes matching
+    instructions specified in udev rules. See <citerefentry>
+        <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
+      </citerefentry>.</para>
+    <para>On startup the content of the directory <filename>/lib/udev/devices</filename>
+    is copied to <filename>/dev</filename>. If kernel modules specify static device
+    nodes, these nodes are created even without a corresponding kernel device, to
+    allow on-demand loading of kernel modules. Matching permissions specified in udev
+    rules are applied to these static device nodes.</para>
+    <para>The behavior of the running daemon can be changed with
     <command>udevadm control</command>.</para>
   </refsect1>
 
@@ -60,8 +63,7 @@
       <varlistentry>
         <term><option>--children-max=</option></term>
         <listitem>
-          <para>Limit the number of parallel executed events.
-          </para>
+          <para>Limit the number of parallel executed events.</para>
         </listitem>
       </varlistentry>
       <varlistentry>
   <refsect1><title>Environment</title>
     <variablelist>
       <varlistentry>
-        <term><option>UDEV_LOG</option></term>
+        <term><varname>UDEV_LOG=</varname></term>
+        <listitem>
+          <para>Set the logging priority.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+ </refsect1>
+
+  <refsect1><title>Kernel command line</title>
+    <variablelist>
+      <varlistentry>
+        <term><varname>udev.log-priority=</varname></term>
+        <listitem>
+          <para>Set the logging priority.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><varname>udev.children-max=</varname></term>
+        <listitem>
+          <para>Limit the number of parallel executed events.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><varname>udev.exec-delay=</varname></term>
         <listitem>
-          <para>Overrides the syslog priority specified in the config file.</para>
+          <para>Number of seconds to delay the execution of RUN instructions.
+          This might be useful when debugging system crashes during coldplug
+          cause by loading non-working kernel modules.</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <title>See Also</title>
     <para><citerefentry>
         <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
-      </citerefentry>, 
-      <citerefentry>
+      </citerefentry>, <citerefentry>
         <refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum>
     </citerefentry></para>
   </refsect1>