man: reorder match types in udev rules

The plural version should always be adjacent to the singular one.
And the plural should not be explained before the singular one…
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-03-01 13:40:52 +01:00
parent 32f82cccea
commit 9479d92ebc
+41 -37
View File
@@ -166,6 +166,13 @@
</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>
@@ -190,36 +197,6 @@
<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>
<listitem>
<para>Match a kernel parameter value.
</para>
</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>SUBSYSTEMS</varname></term>
@@ -228,6 +205,14 @@
</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>DRIVERS</varname></term>
<listitem>
@@ -236,19 +221,31 @@
</varlistentry>
<varlistentry>
<term><varname>ATTRS{<replaceable>filename</replaceable>}</varname></term>
<term><varname>ATTR{<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>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>TAGS</varname></term>
<term><varname>ATTRS{<replaceable>filename</replaceable>}</varname></term>
<listitem>
<para>Search the devpath upwards for a device with matching tag.</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>SYSCTL{<replaceable>kernel parameter</replaceable>}</varname></term>
<listitem>
<para>Match a kernel parameter value.</para>
</listitem>
</varlistentry>
@@ -292,6 +289,13 @@
</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>