Modifying init to create /dev/console ?

Terry Barnaby terry1 at beam.ltd.uk
Tue Feb 27 01:22:25 PST 2007


Hi,

I am trying to create a basic Linux system based on Busybox and would 
like the ability to create the root file system as a normal user and 
without any /dev entries. The startup script would create the /dev 
entries as needed.
However, init and other programs obviously require /dev/console (and 
other /dev entries).

I was wondering about adding an option to init where it would create a 
tmpfs file system, mount it on /dev and create a /dev/console node if no 
/dev/console was found. I guess it could do a bit more and function as 
udev as well.

Do people with Busybox experience think that this a reasonable thing to 
do ??

Cheers


Terry


More information about the busybox mailing list