X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.7;h=821a476aefe3eeb39f408e7ff97eeffe09672be4;hp=a25358158143c3ef63da0178bb738c8c4479cc44;hb=82d4209792035676f1aea2cdaa38bbbf2bd43e04;hpb=953249a3a01cbd442b42558168da6c76a92a0e40 diff --git a/udev.7 b/udev.7 index a25358158..821a476ae 100644 --- a/udev.7 +++ b/udev.7 @@ -290,6 +290,11 @@ Specify the priority of the created symlinks. Devices with higher priorities ove .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 @@ -330,6 +335,16 @@ and \fBATTRS\fR. .RE .PP +\fB$driver\fR, \fB%d\fR +.RS 4 +The driver name of the device matched while searching the devpath upwards for +\fBSUBSYSTEMS\fR, +\fBKERNELS\fR, +\fBDRIVERS\fR +and +\fBATTRS\fR. +.RE +.PP \fB$attr{\fR\fB\fIfile\fR\fR\fB}\fR, \fB%s{\fR\fB\fIfile\fR\fR\fB}\fR .RS 4 The value of a sysfs attribute found at the device, where all keys of the rule have matched. If the matching device does not have such an attribute, all devices along the chain of parents are searched for a matching attribute. If the attribute is a symlink, the last element of the symlink target is returned as the value.