From: Rob Landley <rob@landley.net>
To: linux-kernel@vger.kernel.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,Al Viro
<viro@zeniv.linux.org.uk>,Andrew Morton
<akpm@linux-foundation.org>,"Eric W. Biederman"
<ebiederm@xmission.com>,Greg Kroah-Hartman
<gregkh@linuxfoundation.org>,Hugh Dickins
<hughd@google.com>,Jeff Layton <jlayton@redhat.com>,Jens Axboe
<axboe@kernel.dk>,Jim Cromie
<jim.cromie@gmail.com>,linux-fsdevel@vger.kernel.org,linux-mm@kvack.org,Rusty
Russell <rusty@rustcorp.com.au>,Sam Ravnborg
<sam@ravnborg.org>,Stephen Warren <swarren@nvidia.com>
Subject: [PATCH 0/5] initmpfs: use tmpfs instead of ramfs for rootfs
Date: Sat, 29 Jun 2013 13:12:12 -0700 (PDT) [thread overview]
Message-ID: <1372536729.850447@landley.net> (raw)
Use tmpfs for rootfs when CONFIG_TMPFS=y and there's no root=.
Specify rootfstype=ramfs to get the old initramfs behavior.
The previous initramfs code provided a fairly crappy root filesystem:
didn't let you --bind mount directories out of it, reported zero
size/usage so it didn't show up in "df" and couldn't run things like
rpm that query available space before proceeding, would fill up all
available memory and panic the system if you wrote too much to it...
Using tmpfs instead provides a much better root filesystem.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2013-06-29 20:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-29 20:12 Rob Landley [this message]
2013-06-29 20:12 ` [PATCH 3/5] initmpfs: Move rootfs code from fs/ramfs/ to init/ Rob Landley
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=1372536729.850447@landley.net \
--to=rob@landley.net \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=ebiederm@xmission.com \
--cc=gregkh@linuxfoundation.org \
--cc=hughd@google.com \
--cc=jim.cromie@gmail.com \
--cc=jlayton@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rusty@rustcorp.com.au \
--cc=sam@ravnborg.org \
--cc=swarren@nvidia.com \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).