diff options
author | Claudius Heine <ch@denx.de> | 2016-10-20 14:23:36 +0200 |
---|---|---|
committer | Claudius Heine <ch@denx.de> | 2016-10-20 14:23:36 +0200 |
commit | 1c55880c8cbba009e07645e3a7b26f2bf2a5756c (patch) | |
tree | 7050f632cfa00017e5af3f37ad1ea1f6ddbf26ca /README.md | |
parent | 57080e0f657450382fcfbd8d1d7a5c9ca0308e63 (diff) | |
download | meta-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.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -60,16 +60,20 @@ If you use this layer you do *not* need to set `read-only-rootfs` in the | |||
60 | Example: | 60 | Example: |
61 | 61 | ||
62 | ``` | 62 | ``` |
63 | root=/dev/vda rootfstype=ext4 rootrw=/dev/vdb rootrwfstype=btrfs | 63 | root=/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 |
67 | specified, 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 |
69 | kernel, you can specifiy the required module name here. | 70 | kernel, 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 |
72 | specified, `tmpfs` is used. | 73 | specified, `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 |
75 | kernel, you can specifiy the required module name here. | 76 | kernel, you can specifiy the required module name here. |
77 | |||
78 | `rootrwreset=` set to `yes` if you want to delete all the files in the | ||
79 | read-write filesystem prior to building the overlay root files system. | ||