LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Bodo Eggert <7eggert@gmx.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] use tmpfs for rootfs
Date: Thu, 16 Oct 2008 19:35:37 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LSU.0.999.0810161922290.5051@be1.lrz> (raw)
In-Reply-To: <Pine.LNX.4.64.0810161507130.25933@anakin>

On Thu, 16 Oct 2008, Geert Uytterhoeven wrote:
> On Thu, 16 Oct 2008, Bodo Eggert wrote:

> > +config TMPFS_ROOT
> > +	bool "Use tmpfs instrad of ramfs for initramfs"
> > +	depends on TMPFS && SHMEM
> > +	default n
> > +	help
> > +	  This replaces the ramfs used for unpacking the cpio images
> > +	  with tmpfs.
> > +	  
> > +	  If unsure, say N
> > +
> > +config RAMFS
> > + 	bool "Ramfs file system support" if TMPFS_ROOT
> > +  	default y
> > +  	---help---
> > +  	  Ramfs is a file system which keeps all files in RAM. Unlike tmpfs,
> > +  	  it cannot be swapped to disk, and it has the risk of deadlocking
> > +  	  the system by using all memory.
> > +
> > +  	  Ramfs is used for booting the system and unpacking the cpio if
> > +  	  TMPFS_ROOT is not set.
> 
> Something seems to be missing, as you add CONFIG_RAMFS, but it's nowhere used?
> 
> Gr{oetje,eeting}s,

Yes. I managed to edit the wrong Makefile. Since there seems no way of 
sensibly appending a patch to a mail, I'll reply with the corrected patch.
-- 
Never stand when you can sit, never sit when you can lie down, never stay
awake when you can sleep.

  reply	other threads:[~2008-10-16 17:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 12:03 Bodo Eggert
2008-10-16 13:10 ` Geert Uytterhoeven
2008-10-16 17:35   ` Bodo Eggert [this message]
2008-10-16 17:39   ` [PATCH] use tmpfs for rootfs v2 Bodo Eggert
2008-10-16 20:52     ` Chris Friesen
2008-10-16 22:45       ` Bodo Eggert
2008-10-16 21:03     ` Jeff Schroeder
2008-10-16 22:53       ` Bodo Eggert
2008-10-17 11:16       ` [PATCH] use tmpfs for rootfs v3 Bodo Eggert
2008-10-19 18:12         ` Mike Frysinger
2008-10-20 18:13           ` Bodo Eggert
2008-10-22 19:03             ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.0.999.0810161922290.5051@be1.lrz \
    --to=7eggert@gmx.de \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH] use tmpfs for rootfs' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).