From 1c55880c8cbba009e07645e3a7b26f2bf2a5756c Mon Sep 17 00:00:00 2001 From: Claudius Heine Date: Thu, 20 Oct 2016 14:23:36 +0200 Subject: added more important features added ability to use current rootfs as read-only rootfs added ability to delete the read-write filesystem prior to overlay fs creation use init script in strict shell mode moved root mounts to /media/rfs and use /mnt as new rootfs mount, where the overlay is created --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4daec18..8f037b3 100644 --- a/README.md +++ b/README.md @@ -60,16 +60,20 @@ If you use this layer you do *not* need to set `read-only-rootfs` in the Example: ``` -root=/dev/vda rootfstype=ext4 rootrw=/dev/vdb rootrwfstype=btrfs +root=/dev/sda1 rootfstype=ext4 rootrw=/dev/sda2 rootrwfstype=btrfs ``` -`root=` specifies the read-only root filesystem device. (required) +`root=` specifies the read-only root filesystem device. If this is not +specified, the current rootfs is used. `rootfstype=` if support for the-read only filesystem is not build into the kernel, you can specifiy the required module name here. -`rootrw=` specifies the read-write root filesystem device. If this is not +`rootrw=` specifies the read-write filesystem device. If this is not specified, `tmpfs` is used. -`rootrwfstype=` if support for the read-write filesystem is not build into the +`rootrwfstype=` if support for the read-write filesystem is not build into the kernel, you can specifiy the required module name here. + +`rootrwreset=` set to `yes` if you want to delete all the files in the +read-write filesystem prior to building the overlay root files system. -- cgit v1.2.3-54-g00ecf