summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-08-27 16:54:52 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-08-27 16:56:32 +0200
commit83184d008ba23724fd30996440534c0633a0d0aa (patch)
tree050936caed597f71449ad749671911404c55c740
parent38b5ccbcf7f3643ea8180a8186cfe3e5fa9cb983 (diff)
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
-rw-r--r--udev/udev.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/udev/udev.xml b/udev/udev.xml
index 336b203bec..6085dfff24 100644
--- a/udev/udev.xml
+++ b/udev/udev.xml
@@ -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>