X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudevadm.xml;h=44e286bba64f8b05a6b86c9ec58e7118bc8a4e14;hb=f2291cd07f24d2e1b7c3295ea6570f64b935ba55;hp=9d905abd0c9d34806e0e91844dda2d2c38b24849;hpb=4b0faa2aa0e7ca87fc0fdb637c69e978a7241e1c;p=elogind.git diff --git a/udev/udevadm.xml b/udev/udevadm.xml index 9d905abd0..44e286bba 100644 --- a/udev/udevadm.xml +++ b/udev/udevadm.xml @@ -7,8 +7,7 @@ udevadm - udevd - November 2007 + udevadm udev @@ -90,7 +89,7 @@ or to identify the specified device. Valid queries are: name, symlink, path, - env, all. + property, all. @@ -150,7 +149,7 @@ udevadm trigger <optional>options</optional> - Request device events from the kernel. Usually used to replay events at system coldplug time. + Request device events from the kernel. Primarily used to replay events at system coldplug time. @@ -175,7 +174,7 @@ - Type of event to be triggered. The default value is add. + Type of event to be triggered. The default value is change. @@ -210,6 +209,27 @@ of the sysfs attribute is checked. This option can be specified multiple times. + + + + Trigger events for devices with a matching property value. This option can be + specified multiple times and supports shell style pattern matching. + + + + + + Trigger events for devices with a matching tag. This option can be + specified multiple times. + + + + + + Trigger events for devices with a matching sys device name. This option can be + specified multiple times and supports shell style pattern matching. + + @@ -224,6 +244,24 @@ and always return immediately. + + + + Wait only for events after the given sequence number. + + + + + + Wait only for events before the given sequence number. + + + + + + Stop waiting if file exists. + + @@ -266,13 +304,16 @@ - Signal udevd to reload the rules from the config. + Signal udevd to reload the rules files. + The udev daemon detects changes automatically, this option is + usually not needed. Reloading rules does not apply any changes + to already existing devices. - + - Set global variable. + Set a global property for all events. @@ -297,13 +338,6 @@ event timing, by comparing the timestamps of the kernel uevent and the udev event. - - - - Print the complete environment for all events. Can be used to compare the - kernel supplied and the udev added environment values. - - @@ -316,6 +350,24 @@ Print the udev event after the rule processing. + + + + Also print the properties of the event. + + + + + + Filter events by subsystem[/devtype]. Only udev events with a matching subsystem value will pass. + + + + + + Filter events by property. Only udev events with a given tag attached will pass. + +