udevadm
- udevd
- November 2007
+ udevadmudev
@@ -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 options
- 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.
@@ -165,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.
@@ -209,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.
@@ -235,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.
@@ -274,13 +297,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.
@@ -305,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.
-
-
@@ -324,6 +343,12 @@
Print the udev event after the rule processing.
+
+
+
+ Also print the properties of the event.
+
+
@@ -334,8 +359,7 @@
udevadm test optionsdevpath
- 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.
@@ -349,13 +373,6 @@
The subsystem string.
-
-
-
- Force the creation of a device node or symlink. Usually the test run
- prints only debug output.
-
-