Modifying init to create /dev/console ?

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue Feb 27 23:49:38 UTC 2007


On Tue, Feb 27, 2007 at 09:22:25AM +0000, Terry Barnaby wrote:
> 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).

Are you using initramfs? You can create cpios with special files,
different owners and suid/sgid as normal user, using usr/gen_init_cpio.c
in the Linux source tree.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070227/6e2577fe/attachment-0002.pgp 


More information about the busybox mailing list