chiark / gitweb /
rules: switch to built-in blkid
[elogind.git] / udev / udevadm.xml
index 00f299fb73827862770a97ed747680fa438d855c..09c22c44b1945f9904c6753bd245d83db23a4cb9 100644 (file)
@@ -44,6 +44,9 @@
     <cmdsynopsis>
       <command>udevadm test <optional>options</optional> <replaceable>devpath</replaceable></command>
     </cmdsynopsis>
+    <cmdsynopsis>
+      <command>udevadm test-builtin <optional>options</optional> <replaceable>command</replaceable> <replaceable>devpath</replaceable></command>
+    </cmdsynopsis>
   </refsynopsisdiv>
 
   <refsect1><title>Description</title>
             query returns the absolute path including the root directory.</para>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>--run</option></term>
+          <listitem>
+            <para>The udev runtime directory: <filename>/run/udev</filename>.</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term><option>--attribute-walk</option></term>
           <listitem>
           </listitem>
         </varlistentry>
         <varlistentry>
-          <term><option>--convert-db</option></term>
+          <term><option>--cleanup-db</option></term>
           <listitem>
-            <para>Convert the database of an earlier udev version to the current format. This
-            is only useful on udev version upgrades, where the content of the old database might
-            be needed for the running system, and it is not sufficient for it, to be re-created
-            with the next bootup.</para>
+            <para>Cleanup the udev database.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
           <term><option>--type=<replaceable>type</replaceable></option></term>
           <listitem>
             <para>Trigger a specific type of devices. Valid types are:
-            <command>devices</command>, <command>subsystems</command>, <command>failed</command>.
+            <command>devices</command>, <command>subsystems</command>.
             The default value is <command>devices</command>.</para>
           </listitem>
         </varlistentry>
             specified multiple times and supports shell style pattern matching.</para>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>--parent-match=<replaceable>syspath</replaceable></option></term>
+          <listitem>
+            <para>Trigger events for all children of a given device.</para>
+          </listitem>
+        </varlistentry>
       </variablelist>
     </refsect2>
 
           <term><option>--timeout=<replaceable>seconds</replaceable></option></term>
           <listitem>
             <para>Maximum number of seconds to wait for the event queue to become empty.
-            The default value is 180 seconds. A value of 0 will check if the queue is empty
+            The default value is 120 seconds. A value of 0 will check if the queue is empty
             and always return immediately.</para>
           </listitem>
         </varlistentry>
     <refsect2><title>udevadm control <replaceable>command</replaceable></title>
       <para>Modify the internal state of the running udev daemon.</para>
       <variablelist>
+        <varlistentry>
+          <term><option>--exit</option></term>
+          <listitem>
+            <para>Signal and wait for udevd to exit.</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term><option>--log-priority=<replaceable>value</replaceable></option></term>
           <listitem>
             same time.</para>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>--timeout=</option><replaceable>seconds</replaceable></term>
+          <listitem>
+            <para>The maximum number seconds to wait for a reply from udevd.</para>
+          </listitem>
+        </varlistentry>
         <varlistentry>
           <term><option>--help</option></term>
           <listitem>
         </varlistentry>
       </variablelist>
     </refsect2>
+
+    <refsect2><title>udevadm test-builtin <optional>options</optional> <replaceable>command</replaceable> <replaceable>devpath</replaceable></title>
+      <para>Run a built-in command for the given device, and print debug output.</para>
+      <variablelist>
+        <varlistentry>
+          <term><option>--help</option></term>
+          <listitem>
+            <para>Print help text.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refsect2>
   </refsect1>
 
   <refsect1><title>Author</title>