summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorClaudius Heine <ch@denx.de>2016-10-20 14:23:36 +0200
committerClaudius Heine <ch@denx.de>2016-10-20 14:23:36 +0200
commit1c55880c8cbba009e07645e3a7b26f2bf2a5756c (patch)
tree7050f632cfa00017e5af3f37ad1ea1f6ddbf26ca /README.md
parent57080e0f657450382fcfbd8d1d7a5c9ca0308e63 (diff)
downloadmeta-readonly-rootfs-overlay-1c55880c8cbba009e07645e3a7b26f2bf2a5756c.tar.gz
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
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
60Example: 60Example:
61 61
62``` 62```
63root=/dev/vda rootfstype=ext4 rootrw=/dev/vdb rootrwfstype=btrfs 63root=/dev/sda1 rootfstype=ext4 rootrw=/dev/sda2 rootrwfstype=btrfs
64``` 64```
65 65
66`root=` specifies the read-only root filesystem device. (required) 66`root=` specifies the read-only root filesystem device. If this is not
67specified, the current rootfs is used.
67 68
68`rootfstype=` if support for the-read only filesystem is not build into the 69`rootfstype=` if support for the-read only filesystem is not build into the
69kernel, you can specifiy the required module name here. 70kernel, you can specifiy the required module name here.
70 71
71`rootrw=` specifies the read-write root filesystem device. If this is not 72`rootrw=` specifies the read-write filesystem device. If this is not
72specified, `tmpfs` is used. 73specified, `tmpfs` is used.
73 74
74`rootrwfstype=` if support for the read-write filesystem is not build into the 75`rootrwfstype=` if support for the read-write filesystem is not build into the
75kernel, you can specifiy the required module name here. 76kernel, you can specifiy the required module name here.
77
78`rootrwreset=` set to `yes` if you want to delete all the files in the
79read-write filesystem prior to building the overlay root files system.