From 9d8b1f59274d646a48efe7b26e0263459e5afd52 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Feb 2010 16:44:42 +0100 Subject: [PATCH] Mounting aufs layer with detached inode index, this solves the 'leaving unclean filesystem when using persistency' problem. --- debian/live-initramfs.init | 2 ++ scripts/live | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.1.4