udev(7) manpage: Fix description of $attr

Fix the manpage to describe the real behaviour of $attr: It doesn't search all
parent devices any more, just the one selected by KERNELS etc.

https://launchpad.net/bugs/348513
This commit is contained in:
Martin Pitt
2010-08-27 16:56:32 +02:00
parent 38b5ccbcf7
commit 83184d008b
+3 -2
View File
@@ -578,8 +578,9 @@
<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, follow the chain of parent devices and use the value
of the first attribute that matches.
such an attribute, and a previous KERNELS, SUBSYSTEMS, DRIVERS, or
ATTRS test selected a parent device, use the attribute from that
parent device.
If the attribute is a symlink, the last element of the symlink target is
returned as the value.</para>
</listitem>