Re: [PATCH] Add man page entry for initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
>From 6ea3cf1bdc58d2c1e0124967268d1d1e82c838a4 Mon Sep 17 00:00:00 2001
From: Roger Leigh <rleigh@xxxxxxxxxx>
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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux