From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SP3Iw-0003n1-7u for garchives@archives.gentoo.org; Tue, 01 May 2012 02:59:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29E46E0885; Tue, 1 May 2012 02:58:51 +0000 (UTC) Received: from ironport-out.teksavvy.com (ironport-out.teksavvy.com [206.248.143.162]) by pigeon.gentoo.org (Postfix) with ESMTP id 8A5F0E0793 for ; Tue, 1 May 2012 02:58:01 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUIACxOgk+4rwP9/2dsb2JhbABDuCMDgQyBCIIKAQU6HDMLNBIUJTeIDrYuBIthgVWCQWMEjW+HfIYCiFiBXYMD X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="177897386" Received: from 184-175-3-253.dsl.teksavvy.com (HELO waltdnes.org) ([184.175.3.253]) by ironport2-out.teksavvy.com with SMTP; 30 Apr 2012 22:58:00 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Mon, 30 Apr 2012 22:57:29 -0400 From: "Walter Dnes" Date: Mon, 30 Apr 2012 22:57:29 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle Message-ID: <20120501025729.GA4424@waltdnes.org> References: <201204292200.26618.vapier@gentoo.org> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201204292200.26618.vapier@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 35c44c88-28f5-4ff0-bfaa-2eff4ebfc847 X-Archives-Hash: d4fee17d45e174bcd46b4a824de9a007 On Sun, Apr 29, 2012 at 10:00:26PM -0400, Mike Frysinger wrote > i've added a new USE=sep-usr flag to busybox. when enabled, this > will install a static busybox at /ginit (and have the other busybox > paths symlink to that so there's no overhead). this new applet has > a hand written set of commands to automatically mount /dev /proc > /sys /usr and seed /dev, and then execute the real init (defaulting > to /sbin/init). > > to use it, update your kernel command line (in grub.conf or whatever) with: > init=/ginit > if you want to use a different init from /sbin/init, then just do: > init=/ginit /some/other/init Hi. I've done some rabble-rousing (and beta testing) about replacing udev with mdev, and other people have picked up the cause at https://wiki.gentoo.org/wiki/Mdev If you can automate 90% of the manual process, please contribute the details to that wiki page. The one thing I'm leary of is moving the actual app from /bin/busybox to /ginit. IANACP (I Am Not A C Programmer), let alone a developer, so I may be missing something. Is there an overwhelming reason to depart from the standard location for busybox? Why move the binary to /ginit, rather than make a symlink from /bin/busybox to /ginit? -- Walter Dnes