Mounting aufs layer with detached inode index, this solves the 'leaving unclean files...
authorDaniel Baumann <daniel@debian.org>
Fri, 19 Feb 2010 15:44:42 +0000 (16:44 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:07 +0000 (17:48 +0100)
debian/live-initramfs.init
scripts/live

index 5c79401..294355d 100644 (file)
@@ -198,6 +198,8 @@ case "${1}" in
                                [ "${VERBOSE}" != no ] && log_end_msg 1
                                ;;
                esac
+
+               mount -o remount,ro /live/cow
                ;;
 
        *)
index 9479f3f..a8dc6c8 100755 (executable)
@@ -1104,7 +1104,7 @@ setup_unionfs ()
 
        if [ "${UNIONTYPE}" = "aufs" ]
        then
-               roopt="rr"
+               roopt="rr,xino=/tmp/aufs.xino"
        else
                roopt="ro"
        fi