From: Lauri Kasanen <cand@gmx.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC] rootmpfs
Date: Thu, 11 Apr 2013 17:25:17 +0000 (UTC) [thread overview]
Message-ID: <loom.20130411T192058-26@post.gmane.org> (raw)
In-Reply-To: 1364992208.18069.18@driftwood
Rob Landley <rob <at> landley.net> writes:
> Attached is my quick and dirty hack to make rootfs be tmpfs when
> CONFIG_TMPFS is
> enabled. It can't be this easy or somebody would have done it in the
> _eight_years_
> since https://lkml.org/lkml/2006/7/31/145
Hi Rob,
We've been using a variation of the 2006 patch in TinyCore for years. It's
a fairly essential piece for us, as using it can save several seconds of
boot time for us.
Since we run in the initramfs, to get size limits and swappability, we used
to tar the files and switch_root. Both unnecessary steps when the kernel
could directly unpack to tmpfs.
So consider this a +1 "we use this".
- Lauri
prev parent reply other threads:[~2013-04-11 17:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 12:30 [RFC] rootmpfs Rob Landley
2013-04-03 12:32 ` Rob Landley
2013-04-05 19:53 ` Byron Stanoszek
2013-04-09 14:52 ` Rob Landley
2013-04-09 17:28 ` Randy Dunlap
2013-04-10 17:23 ` Rob Landley
2013-04-10 13:43 ` Robin Holt
2013-04-11 17:25 ` Lauri Kasanen [this message]
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=loom.20130411T192058-26@post.gmane.org \
--to=cand@gmx.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