X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudevadm.xml;h=ad492494a11ecb7d8de6e0ccd3f834b7a8888d07;hp=670c991457145e7c53b62a47ead133101b6efb4b;hb=f1707f125ae7768eece6633d354ab4a224a3fa52;hpb=726687ad48bdececed1e7e44387c50e009e28208 diff --git a/udev/udevadm.xml b/udev/udevadm.xml index 670c99145..ad492494a 100644 --- a/udev/udevadm.xml +++ b/udev/udevadm.xml @@ -7,8 +7,7 @@ udevadm - udevd - November 2007 + udevadm udev @@ -24,7 +23,13 @@ - udevadm info options + udevadm + + + + + + udevadm info options udevadm trigger options @@ -33,7 +38,7 @@ udevadm settle options - udevadm control options instruction + udevadm control command udevadm monitor options @@ -41,12 +46,6 @@ udevadm test options devpath - - udevadm version - - - udevadm help - DESCRIPTION @@ -56,6 +55,26 @@ OPTIONS + + + + + Print debug messages to stderr. + + + + + + Print version number. + + + + + + Print help text. + + + udevadm info <replaceable>options</replaceable> Queries the udev database for device information @@ -70,7 +89,7 @@ or to identify the specified device. Valid queries are: name, symlink, path, - env, all. + property, all. @@ -130,7 +149,7 @@ udevadm trigger <optional>options</optional> - Request device uevents, usually used to replay events at system coldplug. + Request device events from the kernel. Usually used to replay events at system coldplug time. @@ -145,15 +164,17 @@ - + - Trigger only the events which are failed during a previous run. + Trigger a specific type of devices. Valid types are: + devices, subsystems, failed. + The default value is devices. - Type of event to be triggered. The default value is "add". + Type of event to be triggered. The default value is add. @@ -189,20 +210,17 @@ - + - Pass the synthesized events to the specified socket, instead of triggering - a global kernel event. All available event values will be send in the same format - the kernel sends an uevent, or - sends a message. If the first character of the specified path is an @ character, - an abstract namespace socket is used, instead of an existing socket file. + Trigger events for devices with a matching property value. This option can be + specified multiple times and supports shell style pattern matching. - + - Pass an additional environemt key to the event. This works only with the - --socket option. + Trigger events for devices with a matching sys device name. This option can be + specified multiple times and supports shell style pattern matching. @@ -215,7 +233,32 @@ Maximum number of seconds to wait for the event queue to become empty. - The default value is 180 seconds. + The default value is 180 seconds. A value of 0 will check if the queue is empty + 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. + + + + + + Do not print any output, like the remaining queue entries when reaching the timeout. @@ -231,7 +274,7 @@ Modify the internal state of the running udev daemon. - + Set the internal log level of udevd. Valid values are the numerical syslog priorities or their textual representations: , @@ -239,44 +282,40 @@ - + Signal udevd to stop executing new events. Incoming events will be queued. - + Signal udevd to enable the execution of events. - + - 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. - value + value Set the maximum number of events, udevd will handle at the same time. - - - - Set the maximum number of events, which are allowed to run at the - same time. - - @@ -292,13 +331,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. - - @@ -311,6 +343,12 @@ Print the udev event after the rule processing. + + + + Also print the properties of the event. + + @@ -321,8 +359,7 @@ udevadm test <optional>options</optional> <replaceable>devpath</replaceable> - Simulate a udev event run for the given device, and print out debug - output. Unless forced to, no device node or symlink will be created. + Simulate a udev event run for the given device, and print debug output. @@ -336,13 +373,6 @@ The subsystem string. - - - - Force the creation of a device node or symlink. Usually the test run - prints only debug output. - - @@ -351,14 +381,6 @@ - - udevadm version - Print version number. - - - udevadm help - Print help text. - AUTHOR