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=cbf22b4b5e4eb3b712665961101a0539b7cf7031;hb=fa7abba2328eb2d23a7e27708f86f5013059ddcf;hpb=f13b388f97bc3ba8db844bd3413d510e2466a0b6 diff --git a/man/udevadm.xml b/man/udevadm.xml index cbf22b4b5..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,37 +98,44 @@ - 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. - The udev root directory: /dev. If used in conjunction - with a name or symlink query, the - query returns the absolute path including the root directory. - - - - - - The udev runtime directory: /run/udev. + Print absolute paths in name or symlink + query. @@ -370,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. @@ -427,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. @@ -437,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. @@ -470,7 +516,7 @@ udev7 - systemd-udevd8 + systemd-udevd.service8