Hi [...] > when /dev is bind-mounted on $LFS/dev i know (now) why virtual fs like > shm:tmpfs and pts:devpts need to be mounted, but all the device-nodes > are available from inside chroot without further work. but why > /dev/console and /dev/null need to be created before? or do they > simply have to exists when in the end the system is actually booted ?
As far as I understood, /dev/console is needed as standard input/output error used by pre-init (you should/may get an error if /dev/console does not exist). Without that file you won't see error messages from pre-init and the system hangs. /dev/null is used to discard data directed to it. Hope, I do not told crap... -- Seba -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page