From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HK1er-0002Ds-9k for garchives@archives.gentoo.org; Thu, 22 Feb 2007 00:18:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1M0FSo8001726; Thu, 22 Feb 2007 00:15:28 GMT Received: from mail.pipni.cz (mail.pipni.cz [193.86.238.3]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1M08549023900 for ; Thu, 22 Feb 2007 00:08:05 GMT Received: from mail.pipni.cz ([193.86.238.3]:45033 helo=xvalheru.org) id 1HK1VE-0001iT-SZ for gentoo-user@lists.gentoo.org; Thu, 22 Feb 2007 01:08:05 +0100 From: "pat" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ramfs - is it necessary ??? Date: Thu, 22 Feb 2007 01:08:04 +0100 Message-Id: <20070222000520.M66316@xvalheru.org> In-Reply-To: <200702211716.46842.bss03@volumehost.net> References: <45DCCAED.40709@xvalheru.org> <200702211716.46842.bss03@volumehost.net> X-Mailer: OpenWebMail 2.52 20061019 X-OriginatingIP: 62.245.66.7 (pat@xvalheru.org) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Archives-Salt: 8efa8d18-e5fb-45f0-aec4-6f66829b3afe X-Archives-Hash: b922346c30b35fd1ace3b90d44a32356 OK, so I have to search for ramfs. What tool is used to create initramsf file for boot or how to compile it into kernel and how to use it with grub ??? Yes, start with kernel documentation ... but something quicker ??? :-) Thanks a lot for your help. Pat On Wed, 21 Feb 2007 17:16:35 -0600, Boyd Stephen Smith Jr. wrote > On Wednesday 21 February 2007, pat wrote > about '[gentoo-user] ramfs - is it necessary ???': > > And if it is necessary where I can find good documentation > > (samples, explanation, etc.). > > Pretty much all of the documenation on "early userspace" is in the > kernel tree. You might even want to emerge the kernel with the > 'doc' use flag, to get full (HTML?) documentation, although some of > it is in simple plain text (rather than docbook) and available w/o > that flag. > > > And next question is: hat is difference between ramfs and initrd ??? Is > > it the same thing or not ... ??? > > initrd is the old way. A compressed (usually ext2) filesystem used > to load kernel modules, or otherwise initialize things before > mounting the root filesystem. > > initramfs is the new way. A compressed series of cpio archives > (with some special treatment) for the same purpose. > > Both use ram-backed block devices. initrd doesn't need ramfs or > tmpfs. I think an initramfs can use either, but it might require > ramfs. An initramfs can be compiled into the kernel, either can be > a separate file loaded by grub/lilo/xen. > > ramfs is a fixed-size ram-backed file system. tmpfs is a newer, > better way to do this. It has a maximum size (which can be changed > by a remount) but will only allocate enough ram to hold what is > currently placed on the filesystem. > > -- > Boyd Stephen Smith Jr. ,= ,-_-. =. > bss03@volumehost.net ((_/)o o(\_)) > ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' > http://iguanasuicide.org/ \_/ > New GPG Key! Old key expires 2007-03-25. Upgrade NOW! -- gentoo-user@gentoo.org mailing list