Quote Originally Posted by dinosoep View Post
Well, that was the problem kl522, when you remount "sudo mount -o remount" it throws those
/sbin/mount.aufslink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
errors.
This is because the /usr/include/linux/aufs_type.h included in Knoppix is a very very old version. Either you fix it yourself or you have to get Klaus Knopper to fix it.

Also your downloaded aufs-utils source code is questionable too, as we discussed earlier, it does not seem to compile a few other programs.

It would be great to have a starting point with an actually working mount - umount - remount for aufs
There is also a design problem with this approach. As I mentioned before, because /UNIONFS is kind of the root file system for Knoppix. If you insist on unmounting it, though it can be done, but it is only suitable during system shutdown. Meaning, your 'no-wear' thingie is only able to flush the changes during system shutdown. So if there is a power failure in between, you lose all the changes.

Anyway I have included my compiled aufs2-tools for kernel 2.6.38. If you test the tools against a non-root file system, you can convince yourself that it is working.

http://dl.free.fr/pFytkL0aw

I believe you will still have other errors even with using the said tools, for reason that /UNIONFS is kind of the root file system for Knoppix.