From 52473fa9ee6d097431c48c0b9c4b4a51837c75eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 13 Oct 2013 19:43:19 -0400 Subject: [PATCH] man: add more markup to udevadm(8) --- man/udevadm.xml | 49 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/man/udevadm.xml b/man/udevadm.xml index b959216..a1ffe42 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -61,9 +61,10 @@ Description - udevadm expects a command and command specific options. It - controls the runtime behavior of udev, requests kernel events, - manages the event queue, and provides simple debugging mechanisms. + udevadm expects a command and command + specific options. It controls the runtime behavior of + systemd-udevd, requests kernel events, manages + the event queue, and provides simple debugging mechanisms. OPTIONS @@ -97,23 +98,37 @@ - Query the database for specified type of device data. It needs the - or to identify the specified - device. Valid queries are: - name, symlink, path, - property, all. + Query the database for specified type of device + data. It needs the or + to identify the specified + device. Valid queries are: name, + symlink, path, + property, + all. - The devpath of the device to query. + The /sys path of the device to + query, e.g. + /sys/class/block/sda. + Note that this option usually isn't very useful, since + udev can guess the type of the + argument, so udevadm + --devpath=/class/block/sda is equivalent to + udevadm /sys/class/block/sda. - The name of the device node or a symlink to query + The name of the device node or a symlink to query, + e.g. /dev/sda. + Note that this option usually isn't very useful, since + udev can guess the type of the + argument, so udevadm --name=sda is + equivalent to udevadm /dev/sda. @@ -462,13 +477,15 @@ - + - Specify when udevadm should resolve names of users and groups. - When set to early (the default) names will be resolved when the - rules are parsed. When set to late names will be resolved for - every event. When set to never names will never be resolved and - all devices will be owned by root. + Specify when udevadm should resolve names of users + and groups. When set to early (the + default) names will be resolved when the rules are + parsed. When set to late names will + be resolved for every event. When set to + never names will never be resolved + and all devices will be owned by root.