From 9479d92ebc487af66d29b716a347bf2f2620e3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 28 Feb 2021 17:45:06 +0100 Subject: man: reorder match types in udev rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 66 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 31 deletions(-) (limited to 'man/udev.xml') diff --git a/man/udev.xml b/man/udev.xml index 1e9b92c524..c1166b5500 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -166,6 +166,13 @@ + + KERNELS + + Search the devpath upwards for a matching device name. + + + NAME @@ -190,65 +197,55 @@ Match the subsystem of the event device. + - DRIVER - - 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. - - - - ATTR{filename} - - 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. - - - - - SYSCTL{kernel parameter} + SUBSYSTEMS - Match a kernel parameter value. - + Search the devpath upwards for a matching device subsystem name. - KERNELS + DRIVER - Search the devpath upwards for a matching device name. + 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. - SUBSYSTEMS + DRIVERS - Search the devpath upwards for a matching device subsystem name. + Search the devpath upwards for a matching device driver name. - DRIVERS + ATTR{filename} - Search the devpath upwards for a matching device driver name. + Match sysfs attribute value of the event device. + + Trailing whitespace in the attribute values is ignored unless the specified match value + itself contains trailing whitespace. ATTRS{filename} - Search the devpath upwards for a device with matching sysfs attribute values. - If multiple ATTRS 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. + Search the devpath upwards for a device with matching sysfs attribute values. If + multiple ATTRS 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. - TAGS + SYSCTL{kernel parameter} - Search the devpath upwards for a device with matching tag. + Match a kernel parameter value. @@ -292,6 +289,13 @@ + + TAGS + + Search the devpath upwards for a device with matching tag. + + + TEST{octal mode mask} -- cgit v1.2.1