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 1S8QG1-00021d-DD for garchives@archives.gentoo.org; Fri, 16 Mar 2012 06:03:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 060D2E0886 for ; Fri, 16 Mar 2012 06:03:20 +0000 (UTC) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) by pigeon.gentoo.org (Postfix) with ESMTP id 486A3E0851 for ; Fri, 16 Mar 2012 05:41:48 +0000 (UTC) Received: from [212.54.42.133] (helo=smtp2.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1S8Pv9-0004aA-F2 for gentoo-user@lists.gentoo.org; Fri, 16 Mar 2012 06:41:47 +0100 Received: from 5ed027d6.cm-7-1a.dynamic.ziggo.nl ([94.208.39.214] helo=data.antarean.org) by smtp2.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1S8PtD-0004LE-Bb for gentoo-user@lists.gentoo.org; Fri, 16 Mar 2012 06:41:47 +0100 Received: from localhost (localhost [127.0.0.1]) by data.antarean.org (Postfix) with ESMTP id CF6BE2A06 for ; Fri, 16 Mar 2012 06:40:32 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.antarean.org ([127.0.0.1]) by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUzXkxx91cMY for ; Fri, 16 Mar 2012 06:40:31 +0100 (CET) Received: from eve.localnet (eve.lan.antarean.org [10.20.13.23]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPS id 7790D19E7 for ; Fri, 16 Mar 2012 06:40:31 +0100 (CET) From: Joost Roeleveld To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: LVM, /usr and really really bad thoughts. Date: Fri, 16 Mar 2012 06:39:44 +0100 Message-ID: <5226862.qPPr92EOYK@eve> User-Agent: KMail/4.7.4 (Linux/3.2.1-gentoo-r2; KDE/4.7.4; x86_64; ; ) In-Reply-To: <20120315130512.6f19efd1@digimed.co.uk> References: <4F61E382.7060803@libertytrek.org> <20120315130512.6f19efd1@digimed.co.uk> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Archives-Salt: 22d2d564-c4aa-49d4-b89d-a3b4f95d96dc X-Archives-Hash: 00eb94c16fa223b8028eb0f339a6de71 On Thursday, March 15, 2012 01:05:12 PM Neil Bothwick 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. > > 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. > > See /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt Even when the init-options are not set? *** admin@hera ~ $ uname -a Linux hera 2.6.34-xen-r4_dom0 #1 SMP Wed Dec 8 15:52:31 CET 2010 x86_64 AMD Phenom(tm) II X4 955 Processor AuthenticAMD GNU/Linux admin@hera ~ $ zcat /proc/config.gz | grep -i init CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_BLK_DEV_INITRD is not set # CONFIG_SCSI_OSD_INITIATOR is not set CONFIG_DEBUG_MEMORY_INIT=y # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set *** -- Joost