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 <gentoo-user+bounces-136372-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S8BBJ-0003tF-Jf
	for garchives@archives.gentoo.org; Thu, 15 Mar 2012 13:57:29 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E7BFDE0BDE;
	Thu, 15 Mar 2012 13:57:17 +0000 (UTC)
Received: from homiemail-a51.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5])
	by pigeon.gentoo.org (Postfix) with ESMTP id 26455E07D0
	for <gentoo-user@lists.gentoo.org>; Thu, 15 Mar 2012 13:56:12 +0000 (UTC)
Received: from homiemail-a51.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a51.g.dreamhost.com (Postfix) with ESMTP id 59DBE2E8057
	for <gentoo-user@lists.gentoo.org>; Thu, 15 Mar 2012 06:56:11 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=libertytrek.org; h=message-id
	:date:from:mime-version:to:subject:references:in-reply-to
	:content-type:content-transfer-encoding; q=dns; s=
	libertytrek.org; b=UEzBkpIdGVlciWKFFVFmTNzxx1tQkPon29dsWfJPPdrxB
	PKWBq3rwHIRAMb29lsGKY+HrVMvQvW5R5ZUHY9lIRE2OvZhNuHhmAG4IWgfAuhas
	rOdYZ9K/jBW+FFxT+2RyrEPkMAGceYIQdyvgZuaifkOxT/+fCgu4+yAnhE3BLA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h=
	message-id:date:from:mime-version:to:subject:references
	:in-reply-to:content-type:content-transfer-encoding; s=
	libertytrek.org; bh=r4OeucrmM64L+K6i06PMO65VK/o=; b=CWqtS+GW07nZ
	PWWiEnrIu2J9ZjfXB94ja2pLN0jLDF/MNHzjhZbHL7z8YYn8slGw5vc1EpxWIyEK
	Lth16Bqbcg7ZcLWPPow0OTMi6QVPBTR1dxbuFvS/3dMvfg2YC/eYkTQJTzSYWPCe
	uxqzuThw/hZwyKDKB0PuZo8CEzuQawg=
Received: from [127.0.0.1] (50-76-228-201-static.hfc.comcastbusiness.net [50.76.228.201])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: tanstaafl@libertytrek.org)
	by homiemail-a51.g.dreamhost.com (Postfix) with ESMTPSA id 27EBC2E806A
	for <gentoo-user@lists.gentoo.org>; Thu, 15 Mar 2012 06:56:10 -0700 (PDT)
Message-ID: <4F61F4FC.1090005@libertytrek.org>
Date: Thu, 15 Mar 2012 09:56:12 -0400
From: Tanstaafl <tanstaafl@libertytrek.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: LVM, /usr and really really bad thoughts.
References: <CAMgZwF2PUjug-Uxmf0YKGvtJVMCTC9zXm4S3vzudS5NzE1xNZg@mail.gmail.com> <CA+czFiDxEWmvXjsvi0ViTd3teVYjFC633m4MN1eNDV=5O2DmwQ@mail.gmail.com> <292166434.606817.1331577566543.JavaMail.open-xchange@email.1and1.com> <4F5E853F.8060404@gmail.com> <017301cd00bd$24bce2f0$6e36a8d0$@kutulu.org> <CAA2qdGVtsZ2m_2tA2F==3r5gpk3XjirB5f_ptH08=p-uB7taBg@mail.gmail.com> <20120313091356.5a947032@khamul.example.com> <07ed01cd01fd$ea6c6b60$bf454220$@kutulu.org> <CAA2qdGXJCYE11CGF2D43YGtUphpoQY9Zcu66NSdBcngYYiYofg@mail.gmail.com> <005701cd022f$e8228fb0$b867af10$@kutulu.org> <20120315010310.GC32691@waltdnes.org> <4F615834.2050608@gmail.com> <20120315091356.62d6714c@digimed.co.uk> <4F61E382.7060803@libertytrek.org> <20120315130512.6f19efd1@digimed.co.uk>
In-Reply-To: <20120315130512.6f19efd1@digimed.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 0ed282db-e96d-40a1-b5aa-4b98dedb78d6
X-Archives-Hash: 9797bbd55c7b25ce3262cd467f593667

On 2012-03-15 9:05 AM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Thu, 15 Mar 2012 08:41:38 -0400, Tanstaafl wrote:
>
>>> That's why I build the initramfs into the kernel and not as a separate
>>> file. If I do something to break the initramfs I just boot the
>>> previous kernel knowing it will still work.
>>
>> Ok, time to show my ignorance...
>>
>> How would I know if I am using an initramfs, and if I was, whether it
>> was built into the kernel or not?

> Well, you built the kernel, so you should know.

Well, since I basically just used a kernel .config that someone else 
originally set up, copying .config over and running make oldconfig when 
upgrading over the years, stumbling through any changes that broke 
anything (like when some changes to iptables broke my firewall back 
around 2.6.2x), I really didn't know - but I just confirmed that it is 
indeed built into my kernels, so, now, how do I know if I am *using* it 
or not?

> Technically, we are all using an initramfs as all 2.6/3 kernels mount an
> initramfs when they load. If does not contain an init script, they fall
> back to the legacy behaviour.

So, how do I know whether or not 'it contains an init script'?

I know, my ignorance is confounding...

> See /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt

Read it, thanks, but it didn't help me answer the above...