chiark / gitweb /
update SUSE rules
[elogind.git] / udev.7
diff --git a/udev.7 b/udev.7
index a7e2f5a4e77b691ec335cf08cb7851fb8cb71632..332db04f1f37c64af804c65383532956687ee34a 100644 (file)
--- a/udev.7
+++ b/udev.7
@@ -132,13 +132,13 @@ The permissions for the device node. Every specified value overwrites the compil
 Export a variable to the environment. This key can also be used to match against an environment variable.
 .TP
 \fBRUN\fR
-Add a program to the list of programs to be executed for a specific device.
+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.
 .TP
 \fBLABEL\fR
 Named label where a GOTO can jump to.
 .TP
 \fBGOTO\fR
-Jumps to the next LABEL with a matching gname
+Jumps to the next LABEL with a matching name
 .TP
 \fBIMPORT{\fR\fB\fItype\fR\fR\fB}\fR
 Import the printed result or the value of a file in environment key format into the event environment.
@@ -164,10 +164,13 @@ The
 \fBNAME\fR,
 \fBSYMLINK\fR,
 \fBPROGRAM\fR,
-\fBOWNER\fR
-and
+\fBOWNER\fR,
 \fBGROUP\fR
-fields support simple printf\-like string substitutions:
+and
+\fBRUN\fR
+fields support simple printf\-like string substitutions. The
+\fBRUN\fR
+format chars gets applied after all rules have been processed, right before the program is executed. It allows the use of the complete environment set by earlier matching rules. For all other fields, substitutions are applied while the individual rule is being processed. The available substitutions are:
 .TP
 \fB$kernel\fR, \fB%k\fR
 The kernel name for this device.
@@ -218,22 +221,6 @@ The '%' character itself.
 The '$' character itself.
 .PP
 The count of characters to be substituted may be limited by specifying the format length value. For example, '%3s{file}' will only insert the first three characters of the sysfs attribute
-.SH "ENVIRONMENT"
-.TP
-\fBACTION\fR
-\fIadd\fR
-or
-\fIremove\fR
-signifies the addition or the removal of a device.
-.TP
-\fBDEVPATH\fR
-The sysfs devpath without the mountpoint but a leading slash.
-.TP
-\fBSUBSYSTEM\fR
-The kernel subsystem the device belongs to.
-.TP
-\fBUDEV_LOG\fR
-Overrides the syslog priority specified in the config file.
 .SH "AUTHOR"
 .PP
 Written by Greg Kroah\-Hartman