X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fudevadm.xml;h=30a6ac423a2b6360ed01a5e803e1a02433d36bc7;hp=d0cd9220fc8c57851742a91e412abd5af25f6f89;hb=23a7f0f721ff4e3b3fd4ed87f7d8e01ebad20093;hpb=4f5d327a49e1a40ae0a3b8f1855dc90f3c0d953f diff --git a/man/udevadm.xml b/man/udevadm.xml index d0cd9220f..30a6ac423 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -49,6 +49,9 @@ udevadm monitor options + + udevadm hwdb options + udevadm test options devpath @@ -58,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 @@ -94,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 the 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 is not 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 is not very useful, since + udev can guess the type of the + argument, so udevadm --name=sda is + equivalent to udevadm /dev/sda. @@ -363,7 +381,7 @@ seconds - The maximum number seconds to wait for a reply from systemd-udevd. + The maximum number of seconds to wait for a reply from systemd-udevd. @@ -420,6 +438,35 @@ + udevadm hwdb <optional>options</optional> + Maintain the hardware database index in /etc/udev/hwdb.bin. + + + + + Compile the hardware database information located in /usr/lib/udev/hwdb.d/, + /etc/udev/hwdb.d/ and store it in /etc/udev/hwdb.bin. This should be done after + any update to the source files; it will not be called automatically. The running + udev daemon will detect a new database on its own and does not need to be + notified about it. + + + + + + Query the database with a modalias string, and print the + retrieved properties. + + + + + + Alternative root path in the filesystem for reading and writing files. + + + + + udevadm test <optional>options</optional> <replaceable>devpath</replaceable> Simulate a udev event run for the given device, and print debug output. @@ -430,9 +477,15 @@ - + - The subsystem string. + 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. @@ -463,7 +516,7 @@ udev7 - systemd-udevd8 + systemd-udevd.service8