chiark / gitweb /
rules: use consistently OPTIONS+=
[elogind.git] / udevadm.8
index c07e7c60f02687e7fad7c8a139bbce6999e3931a..65e85e6bc0db4cb11b3a83ab2998e98dc878cd8a 100644 (file)
--- a/udevadm.8
+++ b/udevadm.8
@@ -1,6 +1,6 @@
 .\"     Title: udevadm
 .\"    Author: 
-.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
+.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
 .\"      Date: November 2007
 .\"    Manual: udevadm
 .\"    Source: udev
@@ -33,7 +33,7 @@ udevadm - udev management tool
 .PP
 udevadm expects a command and command specific options\. It controls the runtime behavior of udev, requests kernel events, manages the event queue, and provides simple debugging mechanisms\.
 .SH "OPTIONS"
-.SS "udevadm info"
+.SS "udevadm info \fIoptions\fR"
 .PP
 Queries the udev database for device information stored in the udev database\. It can also query the properties of a device from its sysfs representation to help creating udev rules that match this device\.
 .PP
@@ -95,9 +95,9 @@ Print version\.
 .RS 4
 Print help text\.
 .RE
-.SS "udevadm trigger"
+.SS "udevadm trigger [options]"
 .PP
-Request kernel device uevents, usually used to replay events at system coldplug\.
+Request device uevents, usually used to replay events at system coldplug\.
 .PP
 \fB\-\-verbose\fR
 .RS 4
@@ -129,33 +129,45 @@ Trigger events for devices which belong to a matching subsystem\. This option ca
 Do not trigger events for devices which belong to a matching subsystem\. This option can be specified multiple times and supports shell style pattern matching\.
 .RE
 .PP
-\fB\-\-attr\-match=\fR\fB\fIattribute=value\fR\fR
+\fB\-\-attr\-match=\fR\fB\fIattribute\fR\fR\fB=\fR\fB\fIvalue\fR\fR
 .RS 4
 Trigger events for devices with a matching sysfs attribute\. If a value is specified along with the attribute name, the content of the attribute is matched against the given value using shell style pattern matching\. If no value is specified, the existence of the sysfs attribute is checked\. This option can be specified multiple times\.
 .RE
 .PP
-\fB\-\-attr\-nomatch\fR\fB\fIattribute=value\fR\fR
+\fB\-\-attr\-nomatch=\fR\fB\fIattribute\fR\fR\fB=\fR\fB\fIvalue\fR\fR
 .RS 4
 Do not trigger events for devices with a matching sysfs attribute\. If a value is specified along with the attribute name, the content of the attribute is matched against the given value using shell style pattern matching\. If no value is specified, the existence of the sysfs attribute is checked\. This option can be specified multiple times\.
 .RE
-.SS "udevadm settle"
+.PP
+\fB\-\-socket=\fR\fB\fIpath\fR\fR
+.RS 4
+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
+\fBRUN+="socket:\fR\fB\fIpath\fR\fR\fB"\fR
+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\.
+.RE
+.PP
+\fB\-\-env=\fR\fB\fIKEY\fR\fR\fB=\fR\fB\fIvalue\fR\fR
+.RS 4
+Pass an additional environemt key to the event\. This works only with the \-\-socket option\.
+.RE
+.SS "udevadm settle [options]"
 .PP
 Watches the udev event queue, and exits if all current events are handled\.
 .PP
 \fB\-\-timeout=\fR\fB\fIseconds\fR\fR
 .RS 4
-Maximum seconds to wait for the queue to become empty\.
+Maximum number of seconds to wait for the event queue to become empty\. The default value is 180 seconds\.
 .RE
 .PP
 \fB\-\-help\fR
 .RS 4
 Print help text\.
 .RE
-.SS "udevadm control \fIinstruction\fR"
+.SS "udevadm control \fIcommand\fR"
 .PP
 Modify the internal state of the running udev daemon\.
 .PP
-\fBlog_priority=\fR\fB\fIvalue\fR\fR
+\fB\-\-log_priority=\fR\fB\fIvalue\fR\fR
 .RS 4
 Set the internal log level of udevd\. Valid values are the numerical syslog priorities or their textual representations:
 \fBerr\fR,
@@ -164,41 +176,41 @@ and
 \fBdebug\fR\.
 .RE
 .PP
-\fBstop_exec_queue\fR
+\fB\-\-stop_exec_queue\fR
 .RS 4
 Signal udevd to stop executing new events\. Incoming events will be queued\.
 .RE
 .PP
-\fBstart_exec_queue\fR
+\fB\-\-start_exec_queue\fR
 .RS 4
 Signal udevd to enable the execution of events\.
 .RE
 .PP
-\fBreload_rules\fR
+\fB\-\-reload_rules\fR
 .RS 4
 Signal udevd to reload the rules from the config\.
 .RE
 .PP
-\fBenv \fR\fB\fIvar\fR\fR\fB=\fR\fB\fIvalue\fR\fR
+\fB\-\-env=\fR\fB\fIKEY\fR\fR\fB=\fR\fB\fIvalue\fR\fR
 .RS 4
 Set global variable\.
 .RE
 .PP
-\fBmax_childs\fR
+\fB\-\-max_childs=\fR\fIvalue\fR
 .RS 4
 Set the maximum number of events, udevd will handle at the same time\.
 .RE
 .PP
-\fBmax_childs_running\fR
+\fB\-\-max_childs_running=\fR\fB\fIvalue\fR\fR
 .RS 4
 Set the maximum number of events, which are allowed to run at the same time\.
 .RE
 .PP
-\fBhelp\fR
+\fB\-\-help\fR
 .RS 4
 Print help text\.
 .RE
-.SS "udevadm monitor"
+.SS "udevadm monitor [options]"
 .PP
 Listens to the kernel uevents and events sent out by a udev rule and prints the devpath of the event to the console\. It can be used to analyze the event timing, by comparing the timestamps of the kernel uevent and the udev event\.
 .PP
@@ -221,7 +233,7 @@ Print the udev event after the rule processing\.
 .RS 4
 Print help text\.
 .RE
-.SS "udevadm test"
+.SS "udevadm test [options] \fIdevpath\fR"
 .PP
 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\.
 .PP