From 83184d008ba23724fd30996440534c0633a0d0aa Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 27 Aug 2010 16:54:52 +0200 Subject: 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 --- udev/udev.xml | 5 +++-- 1 file 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 @@ 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. -- cgit v1.2.3-54-g00ecf