X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.7;h=b27b65c3656eefd642e5707645db2361679e77a9;hp=5f0ebb997428eed4d1ce06879f60cd4e198a0cc5;hb=9bbdf6eb3c0d84bf906176a51e4cda10882dadc6;hpb=dbb2c414d77362a9279f4fc50458054f71ffb7e2
diff --git a/udev.7 b/udev.7
index 5f0ebb997..b27b65c36 100644
--- a/udev.7
+++ b/udev.7
@@ -1,6 +1,6 @@
.\" Title: udev
.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.73.1
+.\" Generator: DocBook XSL Stylesheets v1.73.2
.\" Date: August 2005
.\" Manual: udev
.\" Source: udev
@@ -105,6 +105,11 @@ Match the devpath of the event device\.
Match the name of the event device\.
.RE
.PP
+\fBNAME\fR
+.RS 4
+Match the name of the node or network interface\. It can be used once the NAME key has been set in one of the preceding rules\.
+.RE
+.PP
\fBSUBSYSTEM\fR
.RS 4
Match the subsystem of the event device\.
@@ -213,6 +218,9 @@ Export a variable to the environment\. Depending on the type of operator, this k
\fBRUN\fR
.RS 4
Add a program to the list of programs to be executed for a specific device\. This can only be used for very short running tasks\. Running an event process for a long period of time may block all further events for this or a dependent device\. Long running tasks need to be immediately detached from the event process itself\.
+.sp
+If the specifiefd string starts with
+\fBsocket:\fR\fB\fIpath\fR\fR, all current event values will be passed to the specified socket, as a message in the same format the kernel sends an uevent\. 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
\fBLABEL\fR
@@ -254,9 +262,9 @@ and
based on the executable bit of the file permissions\.
.RE
.PP
-\fBWAIT_FOR_SYSFS\fR
+\fBWAIT_FOR\fR
.RS 4
-Wait for the specified sysfs file of the device to be created\. Can be used to fight against kernel sysfs timing issues\.
+Wait for a file to become available\.
.RE
.PP
\fBOPTIONS\fR
@@ -275,7 +283,7 @@ Ignore this event completely\.
.PP
\fBignore_remove\fR
.RS 4
-Ignore any later remove event for this device\. This may be useful as a workaround for broken device drivers\.
+Do not remove the device node when the device goes away\. This may be useful as a workaround for broken device drivers\.
.RE
.PP
\fBlink_priority=\fR\fB\fIvalue\fR\fR
@@ -288,6 +296,11 @@ Specify the priority of the created symlinks\. Devices with higher priorities ov
Create the device nodes for all available partitions of a block device\. This may be useful for removable media devices where media changes are not detected\.
.RE
.PP
+\fBevent_timeout=\fR
+.RS 4
+Number of seconds an event will wait for operations to finish, before it will terminate itself\.
+.RE
+.PP
\fBstring_escape=\fR\fB\fInone|replace\fR\fR
.RS 4
Usually control and other possibly unsafe characters are replaced in strings used for device naming\. The mode of replacement can be specified with this option\.
@@ -299,7 +312,8 @@ The
\fBSYMLINK\fR,
\fBPROGRAM\fR,
\fBOWNER\fR,
-\fBGROUP\fR
+\fBGROUP\fR,
+\fBMODE\fR
and
\fBRUN\fR
fields support simple printf\-like string substitutions\. The
@@ -331,7 +345,7 @@ and
\fBATTRS\fR\.
.RE
.PP
-\fB$driver\fR, \fB%d\fR
+\fB$driver\fR
.RS 4
The driver name of the device matched while searching the devpath upwards for
\fBSUBSYSTEMS\fR,
@@ -373,6 +387,16 @@ The string returned by the external program requested with PROGRAM\. A single pa
The node name of the parent device\.
.RE
.PP
+\fB$name\fR
+.RS 4
+The current name of the device node\. If not changed by a rule, it is the name of the kernel device\.
+.RE
+.PP
+\fB$links\fR
+.RS 4
+The current list of symlinks, separated by a space character\. The value is only set if an earlier rule assigned a value, or during a remove events\.
+.RE
+.PP
\fB$root\fR, \fB%r\fR
.RS 4
The udev_root value\.
@@ -404,11 +428,8 @@ The count of characters to be substituted may be limited by specifying the forma
Written by Greg Kroah\-Hartman
and Kay Sievers
-\. With much help from Dan Stekloff
-
-and many others\.
+\. With much help from Dan Stekloff and many others\.
.SH "SEE ALSO"
.PP
\fBudevd\fR(8),
-\fBudevinfo\fR(8),
-\fBudevmonitor\fR(8)
+\fBudevadm\fR(8)