How to reproduce the bug
-1-
Code: Select all
rmdir some.dir
-2-
Code: Select all
mkdir some.dir
-3- reboot ( you get a .wh..wh..opq file in both /mnt/live/memory/{,images/}changes/home/guest/some.dir
-4- make some work in some.dir
-5- reboot: all your work is lost. ( It is in /mnt/live/memory/images/changes/home/guest/some.dir but you can't see it because of the file
/mnt/live/memory/changes/home/guest/some.dir/.wh..wh..opq
BY-PASS
Code: Select all
rm /mnt/live/memory/{,images/}changes/home/guest/some.dir/.wh..wh..opq
At initramfs time, when doing the aufs mount, do not copy .wh..wh..opq files from /mnt/live/memory/images/changes/ to /mnt/live/memory/images/changes/.
I had to spent many hours to find out this bug.
PhLe