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=11900d202e14ab81ccc62f943f33226ed52adcd8;hb=fa7abba2328eb2d23a7e27708f86f5013059ddcf;hpb=d3a2386d15d73b34fa990960696f87e0503ffdb2 diff --git a/man/udevadm.xml b/man/udevadm.xml index 11900d202..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. @@ -322,13 +333,13 @@ - Signal and wait for udevd to exit. + Signal and wait for systemd-udevd to exit. - Set the internal log level of udevd. Valid values are the numerical + Set the internal log level of systemd-udevd. Valid values are the numerical syslog priorities or their textual representations: , and . @@ -336,20 +347,20 @@ - Signal udevd to stop executing new events. Incoming events + Signal systemd-udevd to stop executing new events. Incoming events will be queued. - Signal udevd to enable the execution of events. + Signal systemd-udevd to enable the execution of events. - Signal udevd to reload the rules files and other databases like the kernel + Signal systemd-udevd to reload the rules files and other databases like the kernel module index. Reloading rules and databases does not apply any changes to already existing devices; the new configuration will only be applied to new events. @@ -363,14 +374,14 @@ value - Set the maximum number of events, udevd will handle at the + Set the maximum number of events, systemd-udevd will handle at the same time. seconds - The maximum number seconds to wait for a reply from 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 - udevd8 + systemd-udevd.service8