On Sat, Dec 21, 2013 at 05:56:37PM +0100, Armin K. wrote:
> On 12/21/2013 04:26 PM, Armin K. wrote:
> > In latest lfs book, the "Preparing Virtual File Systems" page contains:
> > 
> > 6.2.1. Creating Initial Device Nodes
> > 
> > When the kernel boots the system, it requires the presence of a few
> > device nodes, in particular the console and null devices. The device
> > nodes must be created on the hard disk so that they are available before
> > udevd has been started, and additionally when Linux is started with
> > init=/bin/bash. Create the devices by running the following commands:
> > 
> > mknod -m 600 $LFS/dev/console c 5 1
> > mknod -m 666 $LFS/dev/null c 1 3
> > 
> > 
> > 
> > These are not necessarry anymore. devtmpfs is a requirement for newer
> > udev versions and is mounted by the kernel before even init has been
> > invoked.
> > 
> 
> This also might be related that my kernel is built with
> CONFIG_DEVTMPFS_MOUNT=y kernel option. Someone please verify before
> taking action, if any.

My machine does *not* mount devtmpfs automatically; the bootscripts (and
specifically mountkernfs) are required.  Which means that init=/bin/bash
won't work without the static files, as the book says.  :-)

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to