summaryrefslogtreecommitdiff
path: root/man/udev.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-28 17:45:06 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-01 13:40:52 +0100
commit9479d92ebc487af66d29b716a347bf2f2620e3dd (patch)
tree1f5a2b2d290726564debc2633103d12c6b9a4fac /man/udev.xml
parent32f82ccceae7b955cfa1e1ce8643df0735cc9e20 (diff)
downloadsystemd-9479d92ebc487af66d29b716a347bf2f2620e3dd.tar.gz
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…
Diffstat (limited to 'man/udev.xml')
-rw-r--r--man/udev.xml66
1 files changed, 35 insertions, 31 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 1e9b92c524..c1166b5500 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -167,6 +167,13 @@
</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 name of a network interface. It can be used once the
@@ -190,65 +197,55 @@
<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>
@@ -293,6 +290,13 @@
</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>
<para>Test the existence of a file. An octal mode mask can be specified