[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Separate boot/root already [WAS: eselect init]
From:       Luca Barbato <lu_zero () gentoo ! org>
Date:       2013-05-28 15:07:36
Message-ID: 51A4C838.3040903 () gentoo ! org
[Download RAW message or body]

On 05/28/2013 01:45 AM, Walter Dnes wrote:
>   Out of sheer curiosity... is "bb-init" based on busybox?  If so, a

it IS busybox =)

> separate partition would also prevent standard utilities from stomping
> all over their busybox symlink equivalants.  Add another entry to the
> grub/lilo menu, and boot from that.

You don't need symlinks, you have a startscript that runs busybox ash,
then it will use all its applets, init included.

This way about all the openrc shell scripts is executed by the same
interpreter and sed/grep and such are just function calls and not
slightly more pricy fork+exec.

Doing this way you get a quite fast boot and depending on your needs you
can leverage more busybox applets to replace even more programs (e.g.
dhcpcd).

That would be the theoretical fastest boot possible short of integrating
start-stop-daemon in busybox.

lu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic