diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-02-19 16:44:42 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:07 +0100 |
| commit | 9d8b1f59274d646a48efe7b26e0263459e5afd52 (patch) | |
| tree | f6e18ab57eb333978e423fc559feb45228104c4f | |
| parent | 7963a3991305151ae2a713e4695aeb9e2854c962 (diff) | |
| download | live-boot-9d8b1f59274d646a48efe7b26e0263459e5afd52.tar.gz live-boot-9d8b1f59274d646a48efe7b26e0263459e5afd52.zip | |
Mounting aufs layer with detached inode index, this solves the 'leaving unclean filesystem when using persistency' problem.
| -rw-r--r-- | debian/live-initramfs.init | 2 | ||||
| -rwxr-xr-x | scripts/live | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 5c79401..294355d 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -198,6 +198,8 @@ case "${1}" in [ "${VERBOSE}" != no ] && log_end_msg 1 ;; esac + + mount -o remount,ro /live/cow ;; *) diff --git a/scripts/live b/scripts/live index 9479f3f..a8dc6c8 100755 --- a/scripts/live +++ b/scripts/live @@ -1104,7 +1104,7 @@ setup_unionfs () if [ "${UNIONTYPE}" = "aufs" ] then - roopt="rr" + roopt="rr,xino=/tmp/aufs.xino" else roopt="ro" fi |
