man: clarify $attr{} parent searching

This commit is contained in:
Karl O. Pinc
2008-07-02 10:20:58 +02:00
committed by Kay Sievers
parent 8bf875ff28
commit 01e8dd08ef
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -522,8 +522,8 @@
<listitem>
<para>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.
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.</para>
</listitem>