Patch to udev.7 to clarify $attr{} parent searching
Attached patch against udev.7 of udev-124.
Clarifies that the first match is used when
$attr{} substitution searches through parent
devices.
Apply in udev-124 directory with:
patch < /foo/udev.7-patch
(Also, I didn't make the change, but shouldn't
the last sentence of the patched paragraph be
a new paragraph?)
Karl <[email protected]>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
udev.7 renamed from ../udev-124/udev.7 +1 -1
@@ -357,7 +357,7 @@ .PP \fB$attr{\fR\fB\fIfile\fR\fR\fB}\fR, \fB%s{\fR\fB\fIfile\fR\fR\fB}\fR .RS 4 -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\. +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 then follow the chain of parent devices and use the value of the first attribute that matches\. If the attribute is a symlink, the last element of the symlink target is returned as the value\. .RE .PP \fB$env{\fR\fB\fIkey\fR\fR\fB}\fR, \fB%E{\fR\fB\fIkey\fR\fR\fB}\fR
Quoted 6 lines · Karl O. Pinc
Attached patch against udev.7 of udev-124.
Clarifies that the first match is used when
$attr{} substitution searches through parent
devices.
Quoted 6 lines
Apply in udev-124 directory with:
patch < /foo/udev.7-patch(Also, I didn't make the change, but shouldn't
the last sentence of the patched paragraph be
a new paragraph?)
Applied the patch. If possible, please send patches against the XML source, where the man page is built from, in the udev tree.
Thanks,
Kay
Quoted 2 lines · Kay Sievers
If possible, please send patches against the XML source, where the man page is built from, in the udev tree.
Oops. Sorry.
I just figured out there's a git tree. I don't know squat about git. Is git://git.kernel.org/pub/scm/linux/hotplug/udev
the right url to copy the repository? (This is a wild guess, I've not figured out how to browse a tree.)
Karl <[email protected]>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
Quoted 6 lines · Karl O. Pinc
Quoted 2 lines · Kay Sievers
If possible, please send patches against the XML source, where the man page is built from, in the udev tree.
Quoted 6 lines
Oops. Sorry.
I just figured out there's a git tree. I don't know squat about git. Is
git://git.kernel.org/pub/scm/linux/hotplug/udev
the right url to copy the repository? (This is a wild guess, I've not figured out how to browse a tree.)
Yes, it's here:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=summary
Kay