Bryan Kadzban wrote: > 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. :-)
You make a lot of assumptions... No I didn't. I made an assumption... :( I've already made the change in my sandbox and will check it out later today. Looking at it, it may work, but I also noticed that I didn't update the udev-config version in packages.ent. Thanks for noticing. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
