Nope, all you do is mount devfs before entering chroot.
mount -n -t devfs devfs $LFS/dev
then compile as normal. You don't need to create /dev/null on glibc install, it's already there. After you finished with the book, take a look at the devfs hint to see which files needs to be updated.
/etc/fstab: the /dev/hd?? entires becomes /dev/discs/disc?/part? (I think)
your cdrom and floppy /dev entries also changes to /dev/cdroms/cdrom? or something of the like
/etc/lilo.conf: the boot=/dev/hd? becomes boot=/dev/discs/disc?/disc
the /dev/hd?? changes as per /etc/fstab
there is a trick to the root= entry to get lilo installing the bootsector without complaining it can't file /dev/discs/blah/blah. On your LFS-boot entries in lilo.conf leave out root= and add append="root=/dev/discs/blah/blah"
/etc/inittab: all the tty entries become vc/ entries. thus tty1=vc/1
Then logout of chroot, umount $LFS/proc and $LFS/dev and you're back on track.
This way you don't even need devfsd if you're not running any special hardware.
Hope this helps
T
>>>dsavard at cids.ca 03/08/02 09:39PM >>>
If planning to use the experimental devfs filesystem with the kernel, is
it still required to run the MAKEDEV script to make all the special
device files?
--
=======================================
Daniel Savard
Internet: dsavard at cids.ca
=======================================
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message