]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: reorder match types in udev rules
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 28 Feb 2021 16:45:06 +0000 (17:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 Mar 2021 12:40:52 +0000 (13:40 +0100)
The plural version should always be adjacent to the singular one.
And the plural should not be explained before the singular one…

man/udev.xml

index 1e9b92c524d7d55f3bac686718ee4054b29c7ff0..c1166b55008ad487f393d6095abfe98ce1dbf24c 100644 (file)
             </listitem>
           </varlistentry>
 
+          <varlistentry>
+            <term><varname>KERNELS</varname></term>
+            <listitem>
+              <para>Search the devpath upwards for a matching device name.</para>
+            </listitem>
+          </varlistentry>
+
           <varlistentry>
             <term><varname>NAME</varname></term>
             <listitem>
               <para>Match the subsystem of the event device.</para>
             </listitem>
           </varlistentry>
+
           <varlistentry>
-            <term><varname>DRIVER</varname></term>
-            <listitem>
-              <para>Match the driver name of the event device. Only set this key for devices
-              which are bound to a driver at the time the event is generated.</para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><varname>ATTR{<replaceable>filename</replaceable>}</varname></term>
-            <listitem>
-              <para>Match sysfs attribute values of the event device. Trailing
-              whitespace in the attribute values is ignored unless the specified match
-              value itself contains trailing whitespace.
-              </para>
-            </listitem>
-          </varlistentry>
-          <varlistentry>
-            <term><varname>SYSCTL{<replaceable>kernel parameter</replaceable>}</varname></term>
+            <term><varname>SUBSYSTEMS</varname></term>
             <listitem>
-              <para>Match a kernel parameter value.
-              </para>
+              <para>Search the devpath upwards for a matching device subsystem name.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
-            <term><varname>KERNELS</varname></term>
+            <term><varname>DRIVER</varname></term>
             <listitem>
-              <para>Search the devpath upwards for a matching device name.</para>
+              <para>Match the driver name of the event device. Only set this key for devices
+              which are bound to a driver at the time the event is generated.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
-            <term><varname>SUBSYSTEMS</varname></term>
+            <term><varname>DRIVERS</varname></term>
             <listitem>
-              <para>Search the devpath upwards for a matching device subsystem name.</para>
+              <para>Search the devpath upwards for a matching device driver name.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
-            <term><varname>DRIVERS</varname></term>
+            <term><varname>ATTR{<replaceable>filename</replaceable>}</varname></term>
             <listitem>
-              <para>Search the devpath upwards for a matching device driver name.</para>
+              <para>Match sysfs attribute value of the event device.</para>
+
+              <para>Trailing whitespace in the attribute values is ignored unless the specified match value
+              itself contains trailing whitespace.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
             <term><varname>ATTRS{<replaceable>filename</replaceable>}</varname></term>
             <listitem>
-              <para>Search the devpath upwards for a device with matching sysfs attribute values.
-              If multiple <varname>ATTRS</varname> matches are specified, all of them
-              must match on the same device. Trailing whitespace in the attribute values is ignored
-              unless the specified match value itself contains trailing whitespace.</para>
+              <para>Search the devpath upwards for a device with matching sysfs attribute values. If
+              multiple <varname>ATTRS</varname> matches are specified, all of them must match on the same
+              device.</para>
+
+              <para>Trailing whitespace in the attribute values is ignored unless the specified match value
+              itself contains trailing whitespace.</para>
             </listitem>
           </varlistentry>
 
           <varlistentry>
-            <term><varname>TAGS</varname></term>
+            <term><varname>SYSCTL{<replaceable>kernel parameter</replaceable>}</varname></term>
             <listitem>
-              <para>Search the devpath upwards for a device with matching tag.</para>
+              <para>Match a kernel parameter value.</para>
             </listitem>
           </varlistentry>
 
             </listitem>
           </varlistentry>
 
+          <varlistentry>
+            <term><varname>TAGS</varname></term>
+            <listitem>
+              <para>Search the devpath upwards for a device with matching tag.</para>
+            </listitem>
+          </varlistentry>
+
           <varlistentry>
             <term><varname>TEST{<replaceable>octal mode mask</replaceable>}</varname></term>
             <listitem>