Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle
Date: Tue, 01 May 2012 02:59:06
Message-Id: 20120501025729.GA4424@waltdnes.org
In Reply to: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle by Mike Frysinger
1 On Sun, Apr 29, 2012 at 10:00:26PM -0400, Mike Frysinger wrote
2 > i've added a new USE=sep-usr flag to busybox. when enabled, this
3 > will install a static busybox at /ginit (and have the other busybox
4 > paths symlink to that so there's no overhead). this new applet has
5 > a hand written set of commands to automatically mount /dev /proc
6 > /sys /usr and seed /dev, and then execute the real init (defaulting
7 > to /sbin/init).
8 >
9 > to use it, update your kernel command line (in grub.conf or whatever) with:
10 > init=/ginit
11 > if you want to use a different init from /sbin/init, then just do:
12 > init=/ginit /some/other/init
13
14 Hi. I've done some rabble-rousing (and beta testing) about replacing
15 udev with mdev, and other people have picked up the cause at
16 https://wiki.gentoo.org/wiki/Mdev If you can automate 90% of the manual
17 process, please contribute the details to that wiki page.
18
19 The one thing I'm leary of is moving the actual app from /bin/busybox
20 to /ginit. IANACP (I Am Not A C Programmer), let alone a developer, so
21 I may be missing something. Is there an overwhelming reason to depart
22 from the standard location for busybox? Why move the binary to /ginit,
23 rather than make a symlink from /bin/busybox to /ginit?
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>

Replies