> Date: Thu, 17 Feb 2011 23:38:21 +0000
> From: akhiezer <[email protected]>
> Subject: sed matches too much? - sec-7.10 custom symlinks
>
> ver: "SVN-20110216"
> sec: "7.10. Creating Custom Symlinks to Devices"
>
> In sub-section '7.10.1. CD-ROM symlinks', does the sed command match
> too much: looks like the target file ends up with the following for
> usb/firewire devices:
>
> PROGRAM="write_cd_rules by-id by-id"
>
> Am not in a position right now to test/double-check this on an
> lfs-6.8-rc1 install, or how its udev might react to such an entry:
> can someone verify?
>
- meant to add, that might need to instead use a sed such as:
sed -i -e 's/\("write_cd_rules\)\("\)/\1 by-id\2/' \
./75-cd-aliases-generator.rules
(And apols for the non-wrapping of preceding post.)
akh
--
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page