summaryrefslogtreecommitdiff
path: root/udev.7
diff options
context:
space:
mode:
authorKarl O. Pinc <kop@meme.com>2008-07-02 10:20:58 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-02 10:20:58 +0200
commit01e8dd08ef317175d8299ef4cbe24802de80770a (patch)
tree6d49cfd38713a2872d5e8bdaf30653356cd3e953 /udev.7
parent8bf875ff282e683e80849113c87660c7b2a0e772 (diff)
man: clarify $attr{} parent searching
Diffstat (limited to 'udev.7')
-rw-r--r--udev.72
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.7 b/udev.7
index b27b65c365..e7de82ea07 100644
--- a/udev.7
+++ b/udev.7
@@ -357,7 +357,7 @@ and
.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\.
+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, follow the chain of parent devices and use the value of the first attribute that matches\. If the attribute is a symlink, the last element of the symlink target is returned as the value\.
.RE
.PP
\fB$env{\fR\fB\fIkey\fR\fR\fB}\fR, \fB%E{\fR\fB\fIkey\fR\fR\fB}\fR