X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fudevadm.xml;h=4aa89646dbe74efcf78e2c32cd0f7f9795ff73e6;hp=a3f8d548df6b4dae87ef4986f295f2669dc91f4e;hb=bd763d350c7e8bf8b934bd45bc34ac35cdba2a63;hpb=6db2742802b70938f0f2d373110ed734d4fb9813 diff --git a/man/udevadm.xml b/man/udevadm.xml index a3f8d548d..4aa89646d 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -1,4 +1,4 @@ - + @@ -20,7 +20,6 @@ udevadm 8 - @@ -49,9 +48,6 @@ udevadm monitor options - - udevadm hwdb options - udevadm test options devpath @@ -67,7 +63,7 @@ the event queue, and provides simple debugging mechanisms. - OPTIONS + Options @@ -90,7 +86,11 @@ - udevadm info <optional><replaceable>OPTIONS</replaceable></optional> <optional><replaceable>DEVPATH</replaceable>|<replaceable>FILE</replaceable></optional> + udevadm info + <arg choice="opt"><replaceable>options</replaceable></arg> + <arg choice="opt"><replaceable>devpath</replaceable>|<replaceable>file</replaceable></arg> + + Queries the udev database for device information stored in the udev database. It can also query the properties of a device from its sysfs representation to help creating udev @@ -202,9 +202,16 @@ + + In addition an optional positional argument can be used + to specify a device name or a sys path. It must start with + /dev or /sys + respectively. - udevadm trigger <optional>options</optional> + udevadm trigger + <arg choice="opt"><replaceable>options</replaceable></arg> + <arg choice="opt" rep="repeat"><replaceable>devpath</replaceable>|<replaceable>file</replaceable></arg> Request device events from the kernel. Primarily used to replay events at system coldplug time. @@ -300,13 +307,21 @@ - + Trigger events for devices with a matching sys - device name. This option can be specified multiple times + device path. This option can be specified multiple times and supports shell style pattern matching. + + + + Trigger events for devices with a matching + device path. This options can be specified multiple + times. + + @@ -323,9 +338,16 @@ + + In addition optional positional arguments can be used + to specify device names or sys paths. They must start with + /dev or /sys + respectively. - udevadm settle <optional>options</optional> + udevadm settle + <arg choice="opt"><replaceable>options</replaceable></arg> + Watches the udev event queue, and exits if all current events are handled. @@ -338,21 +360,6 @@ return immediately. - - - - - Wait only for events after the given sequence - number. - - - - - - - Wait only for events before the given sequence number. - - @@ -360,13 +367,6 @@ Stop waiting if file exists. - - - - - Do not print any output, like the remaining queue entries when reaching the timeout. - - @@ -391,9 +391,14 @@ - Set the internal log level of systemd-udevd. Valid values are the numerical - syslog priorities or their textual representations: , - and . + Set the internal log level of + systemd-udevd. Valid values are the + numerical syslog priorities or their textual + representations: , + , , + , , + , , and + . @@ -451,7 +456,9 @@ - udevadm monitor <optional>options</optional> + udevadm monitor + <arg choice="opt"><replaceable>options</replaceable></arg> + Listens to the kernel uevents and events sent out by a udev rule and prints the devpath of the event to the console. It can be used to analyze the event timing, by comparing the timestamps of the kernel uevent and the udev event. @@ -502,46 +509,10 @@ - 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 file system for reading and writing files. - - - - - - - Print help text. - - - - - - udevadm test <optional>options</optional> <replaceable>devpath</replaceable> + udevadm test + <arg choice="opt"><replaceable>options</replaceable></arg> + <arg><replaceable>devpath</replaceable></arg> + Simulate a udev event run for the given device, and print debug output. @@ -574,7 +545,11 @@ - udevadm test-builtin <optional>options</optional> <replaceable>COMMAND</replaceable> <replaceable>DEVPATH</replaceable> + udevadm test-builtin + <arg choice="opt"><replaceable>options</replaceable></arg> + <arg><replaceable>command</replaceable></arg> + <arg><replaceable>devpath</replaceable></arg> + Run a built-in command COMMAND for device DEVPATH, and print debug output. @@ -594,7 +569,7 @@ See Also udev7 - + , systemd-udevd.service8