chiark / gitweb /
add udev_rules_run() to handle RUN list
[elogind.git] / udev.7
diff --git a/udev.7 b/udev.7
index 1eb766fd9ed685a09ce23ba99649b712bdcd0496..d3ed4b71d680a794c4ff63d8064b4b50a42a611e 100644 (file)
--- a/udev.7
+++ b/udev.7
@@ -151,6 +151,11 @@ Match against the value of an environment variable. Up to five
 keys can be specified per rule. Depending on the type of operator, this key is also used to export a variable to the environment.
 .RE
 .PP
+\fBTEST{\fR\fB\fIoctal mode mask\fR\fR\fB}\fR
+.RS 4
+Test the existence of a file. An octal mode mask can be specified if needed.
+.RE
+.PP
 \fBPROGRAM\fR
 .RS 4
 Execute external program. The key is true, if the program returns with exit code zero. The whole event environment is available to the executed program. The program's output printed to stdout, is available in the RESULT key.
@@ -258,14 +263,39 @@ Wait for the specified sysfs file of the device to be created. Can be used to fi
 .PP
 \fBOPTIONS\fR
 .RS 4
+Rule and device options:
+.RS 4
+.PP
 \fBlast_rule\fR
-stops further rules application. No later rules will have any effect.
+.RS 4
+Stops further rules application. No later rules will have any effect.
+.RE
+.PP
 \fBignore_device\fR
-will ignore this event completely.
+.RS 4
+Ignore this event completely.
+.RE
+.PP
 \fBignore_remove\fR
-will ignore any later remove event for this device. This may be useful as a workaround for broken device drivers.
+.RS 4
+Ignore any later remove event for this device. This may be useful as a workaround for broken device drivers.
+.RE
+.PP
+\fBlink_priority=\fR\fB\fIvalue\fR\fR
+.RS 4
+Specify the priority of the created symlinks. Devices with higher priorities overwrite existing symlinks of other devices.
+.RE
+.PP
 \fBall_partitions\fR
-will 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.
+.RS 4
+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
+\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.
+.RE
+.RE
 .RE
 .PP
 The
@@ -342,6 +372,11 @@ The node name of the parent device.
 The udev_root value.
 .RE
 .PP
+\fB$sys\fR, \fB%S\fR
+.RS 4
+The sysfs mount point.
+.RE
+.PP
 \fB$tempnode\fR, \fB%N\fR
 .RS 4
 The name of a created temporary device node to provide access to the device from a external program before the real node is created.