diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-09-07 11:08:07 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-09-07 11:08:07 +0200 |
commit | 4febf7f076fa4abaa36b0ae047aa893b1334fc93 (patch) | |
tree | f2c0755dd87918e505c1431d9555d2901828ace5 /udev.7 | |
parent | 070cdac978bb34080094fdb357e88d83c849f4b9 (diff) |
man: add $attr{} section about symlinks
Diffstat (limited to 'udev.7')
-rw-r--r-- | udev.7 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -196,13 +196,13 @@ The devpath of the device. \fB$id\fR, \fB%b\fR The name of the device matched while searching the devpath upwards for \fBSUBSYSTEMS\fR, -\fBKERNELS\fR +\fBKERNELS\fR, \fBDRIVERS\fR and \fBATTRS\fR. .TP 3n \fB$attr{\fR\fB\fIfile\fR\fR\fB}\fR, \fB%s{\fR\fB\fIfile\fR\fR\fB}\fR -The value of a sysfs attribute found at the current or a parent device. +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. .TP 3n \fB$env{\fR\fB\fIkey\fR\fR\fB}\fR, \fB%E{\fR\fB\fIkey\fR\fR\fB}\fR The value of an environment variable. |