X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fudevadm.xml;h=38c1935fa82de190e5fba3ceae0bb1ba93e66fb0;hp=b85d9a9249733aa7e6b709b8ac99de0836396097;hb=9f5ecdb0b11557be41c065f460bb22ab52bb0034;hpb=33488f19793dc0a86fdee27266c5319b5b78d695 diff --git a/man/udevadm.xml b/man/udevadm.xml index b85d9a924..38c1935fa 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -1,4 +1,4 @@ - + @@ -66,7 +66,7 @@ the event queue, and provides simple debugging mechanisms. - OPTIONS + Options @@ -89,7 +89,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 @@ -201,9 +205,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. @@ -299,13 +310,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. + + @@ -322,9 +341,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. @@ -368,9 +394,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 + . @@ -428,7 +459,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. @@ -479,7 +512,9 @@ - udevadm hwdb <optional>options</optional> + udevadm hwdb + <arg choice="opt"><replaceable>options</replaceable></arg> + Maintain the hardware database index in /etc/udev/hwdb.bin. @@ -527,7 +562,10 @@ - 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. @@ -560,7 +598,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.