From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4CE901381F3 for ; Tue, 28 May 2013 15:07:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 499BCE09FF; Tue, 28 May 2013 15:07:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 431FDE09F4 for ; Tue, 28 May 2013 15:07:32 +0000 (UTC) Received: from [192.168.0.102] (dynamic-adsl-84-220-77-8.clienti.tiscali.it [84.220.77.8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lu_zero) by smtp.gentoo.org (Postfix) with ESMTPSA id 2688833E10E for ; Tue, 28 May 2013 15:07:30 +0000 (UTC) Message-ID: <51A4C838.3040903@gentoo.org> Date: Tue, 28 May 2013 17:07:36 +0200 From: Luca Barbato User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130411 Thunderbird/17.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Separate boot/root already [WAS: eselect init] References: <51A08A68.3020900@gentoo.org> <20130526084332.1a8afa69@gentoo.org> <51A1DC0C.2070706@gentoo.org> <20130526164106.GA21548@linux1> <20130526164830.GB21548@linux1> <20130526185545.77a2d6e3@gentoo.org> <20130526225813.GA22273@linux1> <51A29F25.1020601@gentoo.org> <20130527234515.GB18963@waltdnes.org> In-Reply-To: <20130527234515.GB18963@waltdnes.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 14c85ce1-34b2-4758-ba64-6310fde7607d X-Archives-Hash: 65d3b247f01035852a8c50a0f789f7af 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