From: David Wuertele <dave+gmane@wuertele.com>
To: linux-kernel@vger.kernel.org
Subject: Can initramfs be mounted read-only?
Date: Wed, 12 Aug 2009 19:47:17 +0000 (UTC) [thread overview]
Message-ID: <loom.20090812T194647-427@post.gmane.org> (raw)
I've been trying to create a system with a read-only rootfs using initramfs,
but I'm not having any luck. I've included "ro" on my command line and when
I cat /proc/cmdline it reports "ro" like I expect. But when I type "mount",
I see this:
rootfs on / type rootfs (rw)
And I can create new files and write to them just fine. Is it possible to
mount an initramfs read-only?
The documentation for early userspace and initramfs does not talk about
read/write permissions.
Thanks,
Dave
next reply other threads:[~2009-08-12 19:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-12 19:47 David Wuertele [this message]
2009-08-12 21:24 ` Alan Jenkins
2009-08-12 22:10 ` David Wuertele
2009-08-12 23:05 ` Christoph Lameter
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.20090812T194647-427@post.gmane.org \
--to=dave+gmane@wuertele.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
all inboxes | Powered by JetHome®