chiark / gitweb /
man: udevadm trigger - the default is "change" not "add"
[elogind.git] / udev / udevadm.xml
index fa1742badaef2fd9150c395e41bd5a3ab05f4119..44e286bba64f8b05a6b86c9ec58e7118bc8a4e14 100644 (file)
         </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>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>