summaryrefslogtreecommitdiff
path: root/udev.xml
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-09-07 11:08:07 +0200
committerKay Sievers <kay.sievers@suse.de>2006-09-07 11:08:07 +0200
commit4febf7f076fa4abaa36b0ae047aa893b1334fc93 (patch)
treef2c0755dd87918e505c1431d9555d2901828ace5 /udev.xml
parent070cdac978bb34080094fdb357e88d83c849f4b9 (diff)
man: add $attr{} section about symlinks
Diffstat (limited to 'udev.xml')
-rw-r--r--udev.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/udev.xml b/udev.xml
index b2781b767d..852ae039e7 100644
--- a/udev.xml
+++ b/udev.xml
@@ -406,7 +406,7 @@
<term><option>$id</option>, <option>%b</option></term>
<listitem>
<para>The name of the device matched while searching the devpath upwards for
- <option>SUBSYSTEMS</option>, <option>KERNELS</option> <option>DRIVERS</option> and <option>ATTRS</option>.
+ <option>SUBSYSTEMS</option>, <option>KERNELS</option>, <option>DRIVERS</option> and <option>ATTRS</option>.
</para>
</listitem>
</varlistentry>
@@ -414,7 +414,12 @@
<varlistentry>
<term><option>$attr{<replaceable>file</replaceable>}</option>, <option>%s{<replaceable>file</replaceable>}</option></term>
<listitem>
- <para>The value of a sysfs attribute found at the current or a parent device.</para>
+ <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.
+ If the attribute is a symlink, the last element of the symlink target is
+ returned as the value.</para>
</listitem>
</varlistentry>