* [email protected] (Dec 28, 2010 @ 13:23-0500):
> In section 6.2.1 we create a couple of device nodes: a console device,
> and a null device.
> 
> Then in the following section we mount /dev of the host platform to be
> mirrored at $LFS/dev.
> 
> What's the point of creating the 2 devices in section 6.2.1 if the
> devices will appear anyways in the mirrored device folder?

The point is to have those 2 devices exist as part of the root filesystem
so that they are available during early boot before things like udev
can be started.  Creating those 2 devices is preparing you for booting
the new system, not so much for building the new system.

For one of my builds, I forgot to create the console device.  The end
result was that I didn't get stdout messages during the boot process
because there was no console device when the process started.  Once
udev was started, I could get stdout messages from later processes
but I was missing output from the boot process itself.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to