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 1R53uz-00079x-KW for garchives@archives.gentoo.org; Sat, 17 Sep 2011 23:03:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEF7A21C072; Sat, 17 Sep 2011 23:03:00 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id F35CB21C18B for ; Sat, 17 Sep 2011 23:00:52 +0000 (UTC) Received: by wwg14 with SMTP id 14so5754648wwg.10 for ; Sat, 17 Sep 2011 16:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=oArv2CBhu8bchKGLB62S8NDSOcpIB8xPnmusMu72JMU=; b=BkyXvKMdpwVQusmczolHOUAAJ38ioUvG9f+9PNd4w9tU5xPpXhrlZUGin/BJektNIT 8i64hjFKQ3lfyuoxicqbP51W3dHr1zjtGXo1VIGHWTcwXXnbvAzH1rRVgrNGQRXlRR1o LNmEjSH23XeTWJr+qXfO7NsHhuaqP7axiLbBM= Received: by 10.227.24.78 with SMTP id u14mr988733wbb.86.1316300452156; Sat, 17 Sep 2011 16:00:52 -0700 (PDT) Received: from rohan.example.com (196-210-153-55.dynamic.isadsl.co.za. [196.210.153.55]) by mx.google.com with ESMTPS id r3sm18832276wbm.18.2011.09.17.16.00.49 (version=SSLv3 cipher=OTHER); Sat, 17 Sep 2011 16:00:51 -0700 (PDT) Date: Sun, 18 Sep 2011 01:00:45 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Making a init thingy. Step two I guess. Message-ID: <20110918010045.35c6a6c5@rohan.example.com> In-Reply-To: References: <4E74FCC5.5070000@gmail.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e757f601c78f15cbec707e5a6749f8fa On Sat, 17 Sep 2011 13:27:45 -0700 Mark Knecht wrote: > > Then I get confused. =C2=A0I get to Applications and I'm sort of lost > > here. =C2=A0In there it talks about copying nano and its friends over to > > the init directory. =C2=A0Then below that it says to use busybox. =C2= =A0Well, > > which is it? =C2=A0Do I do both of those or just one? > > =20 >=20 > It's been a while for me but I believe it's both. I think busybox is > the thing that gives you command line tools like cd, ls, pwd, etc. > However you also can include applications in your initramfs that give > you more access to the hardware or the net. True. Busybox is a tiny userland implementing most of the common options for most of the common Unix commands. When you log into your ADSL router/modem and get a shell, it's probably busybox running there, not GNU util-linux stuff. Binary distros often put busybox in their initrds as it doubles up as a rescue environment and busybox is many times smaller than the full GNU stuff. It's up to you if you want to do that or not; if all you use an initrd for is a convenient place to store drivers to be able to mount /usr, then you will have no need for busybox in it. --=20 Alan McKinnnon alan.mckinnon@gmail.com