Modifying init to create /dev/console ?

Denis Vlasenko vda.linux at googlemail.com
Mon Mar 12 15:22:56 UTC 2007


On Sunday 11 March 2007 23:46, Robin Farine wrote:
> On Sunday March 11 2007 23:06, Robert Schwebel wrote:
> > VFS: Mounted root (nfs filesystem).
> > Freeing init memory: 88K
> > Warning: unable to open an initial console.
> 
> The kernel displays this message just before it tries to exec an 
> init executable.

Yup.

> > init started:  BusyBox v1.1.3 (2007.03.11-10:31+0000) multi-call
> > binary
> >
> > Does anybody have an idea how to get rid of the warning?
> 
> By creating a /dev/console device node in the NFS exported 
> filesystem ?

The whole point of his quest was to be able to _not_ have
/dev populated on rootfs. Imagine that root filesystem
doesn't support device nodes (for example, it's NTFS).
[Yes I agree it's perverted].
--
vda



More information about the busybox mailing list