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=21d14434a383072f6feb68dcf91658681b7d265a;hb=9f5ecdb0b11557be41c065f460bb22ab52bb0034;hpb=7d06ef0a5cd2f0a4e021d3d12f3841cce529e0f2 diff --git a/man/udevadm.xml b/man/udevadm.xml index 21d14434a..38c1935fa 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -1,4 +1,4 @@ - + @@ -20,7 +20,6 @@ udevadm 8 - @@ -67,7 +66,7 @@ the event queue, and provides simple debugging mechanisms. - OPTIONS + Options @@ -90,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 @@ -202,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. @@ -300,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. + + @@ -323,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. @@ -338,21 +363,6 @@ return immediately. - - - - - Wait only for events after the given sequence - number. - - - - - - - Wait only for events before the given sequence number. - - @@ -360,13 +370,6 @@ Stop waiting if file exists. - - - - - Do not print any output, like the remaining queue entries when reaching the timeout. - - @@ -391,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 + . @@ -451,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. @@ -502,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. @@ -516,6 +528,15 @@ notified about it. + + + + Put the compiled database into /usr/lib/udev/hwdb.bin instead. + Use this if you want to ship a pre-compiled database in immutable system images, or + don't use /etc/udev/hwdb.d and want to avoid large binary files in + /etc. + + @@ -541,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. @@ -574,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.