On Sun, Dec 28, 2008 at 11:29:45PM -0700, [email protected] wrote: > Log: > Split one udev rule so it is not wider than the book's page. > > Modified: trunk/BOOK/udev-config/55-lfs.rules > =================================================================== > --- trunk/BOOK/udev-config/55-lfs.rules 2008-12-24 19:47:42 UTC (rev > 8778) > +++ trunk/BOOK/udev-config/55-lfs.rules 2008-12-29 06:29:45 UTC (rev > 8779) > @@ -84,4 +84,6 @@ > KERNEL=="nst[0-9]*", GROUP="tape" > > # Override floppy devices > -KERNEL=="fd[0-9]", ACTION=="add|change", ATTRS{cmos}=="?*", > RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy > $root/%k" > +KERNEL=="fd[0-9]", ACTION=="add|change", ATTRS{cmos}=="?*", > RUN+="create_floppy_devices \ > + -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k" > +
Hmm. I assume you've tested this, but I'm surprised that splitting a line in the middle of a *string* works. (I'm surprised that udev parses the rule correctly.) I'd think that splitting it before RUN+= would work a lot better. But if it works, then whatever. :-) > Modified: trunk/BOOK/udev-config/ChangeLog > =================================================================== > --- trunk/BOOK/udev-config/ChangeLog 2008-12-24 19:47:42 UTC (rev 8778) > +++ trunk/BOOK/udev-config/ChangeLog 2008-12-29 06:29:45 UTC (rev 8779) > @@ -1,215 +1,219 @@ > -2008-12-07 Bryan Kadzban <[email protected]> > - * 55-lfs.rules: Remove several rules that are either provided by > upstream, > - or that don't have any effect (there is no /dev/js or /dev/djs > according > - to devices.txt). > - * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change" > - everywhere, per upstream's general request. > +2008-12-07 Bruce Dubbs <[email protected]> > + * 55-lfs.rules: Change one line to use continuation so it does > + not overflow the book's width. Any reason all the tabs got turned into 3 spaces in this file? vim's syntax highlighting is really freaking out now...
pgpngkIGiEBSI.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
