From: Al Boldi <a1426z@gawab.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC][Patch] Allow not mounting a root fs
Date: Sun, 8 Jul 2007 13:36:27 +0300 [thread overview]
Message-ID: <200707081336.27985.a1426z@gawab.com> (raw)
Bodo Eggert wrote:
> On Sat, 7 Jul 2007, 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?
>
> As far as I understand, it is a ramfs aka. non-swappable tmpfs without any
> limit and including a chance of DoSing the system.
>
> Since I'm toying with root-on-initcpio, I'm looking for things that might
> make the task some easier.
>
> Currently I'm thinking about changing the root=initramfs to root=tmpfs and
> additionally mounting a tmpfs on / before unpacking the cpios. OTOH, this
> seems to be a little bit messy. OTOH again, in _that_ boot code, nobody
> should complain :)
Try this "[PATCH] initramfs: Allow rootfs to use tmpfs instead of ramfs".
It's trivial and should be in mainline.
Thanks!
--
Al
next reply other threads:[~2007-07-08 10:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-08 10:36 Al Boldi [this message]
2007-07-11 0:46 ` H. Peter Anvin
2007-07-11 4:47 ` Al Boldi
-- strict thread matches above, loose matches on Subject: below --
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
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
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=200707081336.27985.a1426z@gawab.com \
--to=a1426z@gawab.com \
--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