From: Roger Leigh <rleigh@codelibre.net>
To: util-linux@vger.kernel.org
Subject: Re: [PATCH] Add man page entry for initramfs
Date: Sat, 17 Dec 2011 10:15:00 +0000 [thread overview]
Message-ID: <20111217101500.GS17458@codelibre.net> (raw)
In-Reply-To: <20111216231538.GR17458@codelibre.net>
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
On Fri, Dec 16, 2011 at 11:15:38PM +0000, Roger Leigh wrote:
> Hi,
>
> I've attached a trivial patch for an "initramfs" mount option. The
> purpose of this patch is that selected mounts in /etc/fstab can be
> identified for mounting in the generated initramfs. This will
> permit e.g. mounting of a separate /etc and /usr and any other
> admin-configured filesystems prior to init starting.
The following patch documents this in the mount(8) manpage.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
[-- Attachment #2: 0002-mount.8-Document-initramfs-mount-option.patch --]
[-- Type: text/x-diff, Size: 1194 bytes --]
>From 6ea3cf1bdc58d2c1e0124967268d1d1e82c838a4 Mon Sep 17 00:00:00 2001
From: Roger Leigh <rleigh@debian.org>
Date: Sat, 17 Dec 2011 10:11:49 +0000
Subject: [PATCH 2/2] mount.8: Document initramfs mount option
---
mount/mount.8 | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/mount/mount.8 b/mount/mount.8
index fc352b5..f7be9d3 100644
--- a/mount/mount.8
+++ b/mount/mount.8
@@ -917,6 +917,16 @@ This option implies the options
(unless overridden by subsequent options, as in the option line
.BR group,dev,suid ).
.TP
+.B initramfs
+The filesystem will be mounted by initial initramfs, before the root
+filesystem becomes available. This permits separation of files
+required for boot onto separate filesystems, such as those in /etc and
+/usr. This additionally permits selected encryption of files in /etc,
+for example, while leaving the remainder of the files in / and /usr
+unencrypted for performance. Note that filesystems marked using this
+option may require the running of a tool to update the initramfs
+following any changes.
+.TP
.B iversion
Every time the inode is modified, the i_version field will be incremented.
.TP
--
1.7.7.3
next prev parent reply other threads:[~2011-12-17 10:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-16 23:15 [PATCH] Add mount option for initramfs Roger Leigh
2011-12-17 10:15 ` Roger Leigh [this message]
2011-12-20 13:14 ` Karel Zak
2011-12-19 13:40 ` Roger Leigh
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=20111217101500.GS17458@codelibre.net \
--to=rleigh@codelibre.net \
--cc=util-linux@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;
as well as URLs for NNTP newsgroup(s).