chiark / gitweb /
[PATCH] fix SEGV in libsysfs/dlist.c
[elogind.git] / udev.8
diff --git a/udev.8 b/udev.8
index 8ebcf7bd997e4c66bda8ea4fb3d524dec41246a0..417b74bdc55ca79d4fa60b50650fb2f78752e14b 100644 (file)
--- a/udev.8
+++ b/udev.8
@@ -149,13 +149,13 @@ value in the
 file.
 .P
 Every line in the rules file defines the mapping between device attributes
-and the device file name. One ore more keys are specified to match a rule
+and the device file name. One or more keys are specified to match a rule
 with the current device. If all keys are matching, the rule will be applied
 and the name is used for the device node.
 .br
 If no matching rule is found, the default kernel device name is used.
 .P
-Every rule consists of a list a comma separated fields:
+Every rule consists of a list of comma separated fields:
 .sp
 .IR "key " ,[ "key " ,...] " name " [, " symlink" ]
 .sp
@@ -220,6 +220,10 @@ to the symlink list of the rule which will create the node.
 This makes it possible to specify additional symlinks in a possibly
 separate rules file, while the device nodes are maintained by the
 distribution provided rules file.
+.TP
+.B OWNER, GROUP, MODE
+The permissions for this device. Every specified value overwrites the value
+given in the permissions file.
 .P
 .RB "The " NAME " ," SYMLINK " and " PROGRAM
 fields support simple printf-like string substitution:
@@ -248,8 +252,11 @@ The string returned from the execution of
 field for the obvious reason.)
 .br
 A single part of the string, separated by a space character
-may be selected by specifying the part number as a attribute:
-.BI %c{ part }
+may be selected by specifying the part number as an attribute:
+.BI %c{ N }
+If the number is followed by the + char this part plus
+all remaining parts of the result string are substituted:
+.BI %c{ N+ }
 .TP
 .BI %s{ filename }
 The content of a sysfs attribute.