diff options
author | Hannes Reinecke <hare@suse.de> | 2007-07-25 15:24:58 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-07-25 15:24:58 +0200 |
commit | fea9b2d2924235a459e888ecd35a8b43093b9542 (patch) | |
tree | 250753611ef74d2b2e8a3a35da50f99ff6b26e24 /udev.7 | |
parent | 76bd9d319e0d4376d14032cd65503da3a6c2529e (diff) |
add $driver subtitution
Diffstat (limited to 'udev.7')
-rw-r--r-- | udev.7 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |