X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudevadm.xml;h=64e6f2aeb979a8828c3327895362e7f37d70da06;hp=2e02c305d920ac766d3b18082eb849eaae3573b2;hb=9060b066d9e7aaca9795010ac5fff61018947f87;hpb=7d563a17f3967890331daf08d43f2f005418139b diff --git a/udev/udevadm.xml b/udev/udevadm.xml index 2e02c305d..64e6f2aeb 100644 --- a/udev/udevadm.xml +++ b/udev/udevadm.xml @@ -24,7 +24,13 @@ - udevadm info options + udevadm + + + + + + udevadm info options udevadm trigger options @@ -41,12 +47,6 @@ udevadm test options devpath - - udevadm version - - - udevadm help - DESCRIPTION @@ -56,6 +56,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 +90,7 @@ or to identify the specified device. Valid queries are: name, symlink, path, - env, all. + property, all. @@ -130,7 +150,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 +165,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 +211,10 @@ - + - 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. - - - - - - Pass an additional environemt key to the event. This works only with the - --socket option. + Trigger events for devices with a matching property value. This option can be + specified multiple times and supports shell style pattern matching. @@ -215,7 +227,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. @@ -254,13 +291,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. @@ -270,13 +310,6 @@ same time. - - - - Set the maximum number of events, which are allowed to run at the - same time. - - @@ -292,13 +325,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 +337,12 @@ Print the udev event after the rule processing. + + + + Also print the properties of the event. + + @@ -321,8 +353,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 +367,6 @@ The subsystem string. - - - - Force the creation of a device node or symlink. Usually the test run - prints only debug output. - - @@ -351,14 +375,6 @@ - - udevadm version - Print version number. - - - udevadm help - Print help text. - AUTHOR