]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/udev.xml
doc: fix udev(7) documentation about ATTR{} and SYSCTL{}
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 23 Aug 2018 20:20:18 +0000 (16:20 -0400)
committerFilipe Brandenburger <filbranden@google.com>
Thu, 23 Aug 2018 21:47:43 +0000 (14:47 -0700)
commitb87613ecce398a1f17e8e0e87373fdfde6bc2246
treeedc349dd59b8013e566465555f29a050c08a27eb
parente6a2feb57d60a8f8f5f64fdc6d9a23260fe0df05
doc: fix udev(7) documentation about ATTR{} and SYSCTL{}

Without this fix, udev(7) munges the two items together, like so:

       ATTR{filename}, SYSCTL{kernel parameter}
           Match sysfs attribute values of the event device. Trailing
           whitespace in the attribute values is ignored unless the specified
           match value itself contains trailing whitespace.  Match a kernel
           parameter value.

You're not allowed to have a <term> element after a <listitem> element within a
<varlistentry>.

xmllint complains:

    udev.xml:192: element varlistentry: validity error : Element varlistentry content does not follow the DTD, expecting (term+ , listitem), got (term listitem term listitem )
man/udev.xml