udevadm
- udevd
- November 2007
+ udevadmudev
@@ -24,7 +23,13 @@
- udevadm info options
+ udevadm
+
+
+
+
+
+ udevadm info optionsudevadm trigger options
@@ -33,7 +38,7 @@
udevadm settle options
- udevadm control optionsinstruction
+ udevadm control commandudevadm monitor options
@@ -41,12 +46,6 @@
udevadm test optionsdevpath
-
- udevadm version
-
-
- udevadm help
- DESCRIPTION
@@ -56,6 +55,26 @@
OPTIONS
+
+
+
+
+ Print debug messages to stderr.
+
+
+
+
+
+ Print version number.
+
+
+
+
+
+ Print help text.
+
+
+ udevadm info optionsQueries 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 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.
@@ -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
+ valueSet 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,18 @@
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.
+
+
@@ -321,8 +365,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.
@@ -336,13 +379,6 @@
The subsystem string.
-
-
-
- Force the creation of a device node or symlink. Usually the test run
- prints only debug output.
-
-
@@ -351,14 +387,6 @@
-
- udevadm version
- Print version number.
-
-
- udevadm help
- Print help text.
- AUTHOR