summaryrefslogtreecommitdiff
path: root/udev.7
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2007-07-25 15:24:58 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-25 15:24:58 +0200
commitfea9b2d2924235a459e888ecd35a8b43093b9542 (patch)
tree250753611ef74d2b2e8a3a35da50f99ff6b26e24 /udev.7
parent76bd9d319e0d4376d14032cd65503da3a6c2529e (diff)
add $driver subtitution
Diffstat (limited to 'udev.7')
-rw-r--r--udev.710
1 files changed, 10 insertions, 0 deletions
diff --git a/udev.7 b/udev.7
index d3ed4b71d6..821a476aef 100644
--- a/udev.7
+++ b/udev.7
@@ -335,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.