hi and thanks. thats not exact what i had in mind. when i.e. there is a directory /mnt/x than you can cp something into /mnt/x but when you mount something in /mnt/x than what you copied there is hidden till you umount. when creating device-nodes $LFS/dev/console and $LFS/dev/null and bind-mount host-/dev in chroot-/dev ( $LFS/dev ) than i guess, cause console and null exists in host-/dev (but the same if not) the recently created device-nodes are 'hidden' ?
2013/9/20 Unix User <mailinglistacco...@yahoo.com> > 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 >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page