http://www.linuxfromscratch.org/lfs/view/stable/chapter07/hosts.html LFS 6.2 Stable
Compare this: cat > /etc/hosts << "EOF" # Begin /etc/hosts (network card version) 127.0.0.1 localhost <192.168.1.1> <HOSTNAME.example.org> [alias1] [alias2 ...] # End /etc/hosts (network card version) EOF with this: http://www.linuxfromscratch.org/lfs/view/stable/chapter07/symlinks.html cat >/etc/udev/rules.d/82-cdrom.rules << EOF # Custom CD-ROM symlinks SUBSYSTEM=="block", ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F", \ ENV{ID_REVISION}=="PS05", SYMLINK+="cdrom" SUBSYSTEM=="block", ENV{ID_MODEL}=="PHILIPS_CDD5301", \ ENV{ID_SERIAL}=="5VO1306DM00190", SYMLINK+="cdrom1 dvd" EOF and this: cat >/etc/udev/rules.d/82-cdrom.rules << EOF # Custom CD-ROM symlinks SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \ ENV{ID_PATH}=="pci-0000:00:07.1-ide-0:1", SYMLINK+="cdrom" SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \ ENV{ID_PATH}=="pci-0000:00:07.1-ide-1:1", SYMLINK+="cdrom1 dvd" EOF and this: cat >/etc/udev/rules.d/83-duplicate_devs.rules << EOF # Persistent symlinks for webcam and tuner KERNEL=="video*", SYSFS{idProduct}=="1910", SYSFS{idVendor}=="0d81", \ SYMLINK+="webcam" KERNEL=="video*", SYSFS{device}=="0x036f", SYSFS{vendor}=="0x109e", \ SYMLINK+="tvtuner" EOF There are no Begin and End lines. Other sample scripts in the book include them. Is there are reason for the difference? Thanks, Peter -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page