X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.8;h=417b74bdc55ca79d4fa60b50650fb2f78752e14b;hp=d5d95491136f86fc3688e7e8fbccf899666ef408;hb=93e6b62cbd2ddcd2550f6ea6fb9733b0758146ae;hpb=e41016d3547ef704c0785ba197d36ef69de51260 diff --git a/udev.8 b/udev.8 index d5d954911..417b74bdc 100644 --- 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 @@ -252,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.