chiark / gitweb /
man: udevadm trigger - the default is "change" not "add"
[elogind.git] / udev / udevadm.xml
index e4151e0ed4e5f01813229edf9dfbf8a59aebc2ea..44e286bba64f8b05a6b86c9ec58e7118bc8a4e14 100644 (file)
@@ -7,8 +7,7 @@
     <title>udevadm</title>
     <refentry>
       <refentryinfo>
-        <title>udevd</title>
-        <date>November 2007</date>
+        <title>udevadm</title>
         <productname>udev</productname>
       </refentryinfo>
 
         </refsect2>
 
         <refsect2><title>udevadm trigger <optional>options</optional></title>
-          <para>Request device events from the kernel. Usually used to replay events at system coldplug time.</para>
+          <para>Request device events from the kernel. Primarily used to replay events at system coldplug time.</para>
           <variablelist>
             <varlistentry>
               <term><option>--verbose</option></term>
             <varlistentry>
               <term><option>--action=<replaceable>action</replaceable></option></term>
               <listitem>
-                <para>Type of event to be triggered. The default value is <command>add</command>.</para>
+                <para>Type of event to be triggered. The default value is <command>change</command>.</para>
               </listitem>
             </varlistentry>
             <varlistentry>
                 specified multiple times and supports shell style pattern matching.</para>
               </listitem>
             </varlistentry>
+            <varlistentry>
+              <term><option>--tag-match=<replaceable>property</replaceable></option></term>
+              <listitem>
+                <para>Trigger events for devices with a matching tag. This option can be
+                specified multiple times.</para>
+              </listitem>
+            </varlistentry>
             <varlistentry>
               <term><option>--sysname-match=<replaceable>name</replaceable></option></term>
               <listitem>
                 <para>Also print the properties of the event.</para>
               </listitem>
             </varlistentry>
+            <varlistentry>
+              <term><option>--subsystem-match=<replaceable>string[/string]</replaceable></option></term>
+              <listitem>
+                <para>Filter events by subsystem[/devtype]. Only udev events with a matching subsystem value will pass.</para>
+              </listitem>
+            </varlistentry>
+            <varlistentry>
+              <term><option>--tag-match=<replaceable>string</replaceable></option></term>
+              <listitem>
+                <para>Filter events by property. Only udev events with a given tag attached will pass.</para>
+              </listitem>
+            </varlistentry>
             <varlistentry>
               <term><option>--help</option></term>
               <listitem>