Hi everybody,
since Unionfs has some serious issues at the moment, I was looking for some alternatives and found mini_fo:
http://www.denx.de/twiki/bin/view/Know/MiniFOHomeThis module does indeed work a lot more stable than unionfs.
Think of mini_fo as a slim version of unionfs that only supports one storage branch and one base branch, whereas unionfs allows to have multiple branches. For my purposes having only one base and storage branch is totally sufficient.
So, this way the compressed Debian in squashfs/gzipfs/ext2fs combo is finally possible.
You can find the compiled module + patches and sources here:
http://www.katastrophos.net/zaurus/sources/Note on gzipfs:
Currently using gzipfs on many small files is bad because gzipfs creates one index file for every compressed file. The problem is, that even if the index files are only 20 byte big, they always consume at least 4 KB (default blocksize) on ext2fs if I'm not mistaken.
So, in turn for many small files the created index files take up more space than was gained by compressing the actual files in the first place.
Now, the idea is to move the index to the end of the corresponding compressed file. Adding a pointer to the index at the beginning of this file should help to get rid of the separate index file.
I'm probably going to hack the gzipfs sources and see how that idea will work in reality. I'll keep you updated.
Regards,
Andre