mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
	Bodo Eggert <7eggert@gmx.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC][Patch] Allow not mounting a root fs
Date: Wed, 18 Jul 2007 17:51:10 -0400	[thread overview]
Message-ID: <200707181751.10276.rob@landley.net> (raw)
In-Reply-To: <469002EB.7030902@zytor.com>

On Saturday 07 July 2007 5:17:31 pm H. Peter Anvin wrote:
> Jan Engelhardt wrote:
> > On Jul 7 2007 13:56, H. Peter Anvin wrote:
> >> Jan Engelhardt wrote:
> >>> On Jul 5 2007 19:08, H. Peter Anvin wrote:
> >>>>> BTW: Is it possible to mount a tmpfs on / before extracting the cpio?
> >>>>
> >>>> Not in the stock kernel.  There have been some patches floating around
> >>>> for that, I think.
> >>>
> >>> What would it buy? rootfs is a tmpfs, is not it?
> >>
> >> No, rootfs is ramfs.
> >
> > Thanks for clarifying. Well, why is it a ramfs, and not tmpfs?
> > (I think I know the difference, but the question stands.
> > A system without any swap somewhat equals a ramfs, or?)
>
> It gets initialized very early, and a lot of the setup needed for tmpfs
> to work isn't ready yet.

Out of curiosity, do you know which setup?  I know that it won't actually swap 
anything out yet because no swap is mounted, but I thought that mounting 
tmpfs and doing a swapon afterwards was ok...

> 	-hpa

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

  reply	other threads:[~2007-07-18 22:41 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06  2:00 Bodo Eggert
2007-07-06  2:08 ` H. Peter Anvin
2007-07-06 15:00   ` Bodo Eggert
2007-07-06 15:32     ` Dan Aloni
2007-07-06 17:00     ` Andre Noll
2007-07-06 17:16       ` H. Peter Anvin
2007-07-07 18:30   ` Jan Engelhardt
2007-07-07 20:56     ` H. Peter Anvin
2007-07-07 21:13       ` Jan Engelhardt
2007-07-07 21:17         ` H. Peter Anvin
2007-07-18 21:51           ` Rob Landley [this message]
2007-07-18 22:50             ` H. Peter Anvin
2007-07-18 22:53               ` Roland M. Kruggel
2007-07-07 21:18     ` Bodo Eggert
2007-07-07 21:39       ` Jan Engelhardt
2007-07-07 21:45         ` H. Peter Anvin
2007-07-07 21:46       ` Willy Tarreau
2007-07-08 10:36 Al Boldi
2007-07-11  0:46 ` H. Peter Anvin
2007-07-11  4:47   ` Al Boldi

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=200707181751.10276.rob@landley.net \
    --to=rob@landley.net \
    --cc=7eggert@gmx.de \
    --cc=hpa@zytor.com \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome