From: Martin Pitt Date: Fri, 27 Aug 2010 14:54:52 +0000 (+0200) Subject: udev(7) manpage: Fix description of $attr X-Git-Tag: 174~357 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83184d008ba23724fd30996440534c0633a0d0aa;p=systemd 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 --- diff --git a/udev/udev.xml b/udev/udev.xml index 336b203b..6085dfff 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.