Hi, Since unionfs seems a bit buggy and needs kernel patching every new version, i started looking at aufs which seems more stable, faster and better backward compatible. I've made a patch against genkernel-3.4.9_pre10 replacing unionfs by aufs. So far, i found it very stable though it's only available on CVS... I ran tests on 2.6.22 kernel. Attached is the patch along with the version tested. Hope you'll find it useful Reproducible: Always Steps to Reproduce:
Created attachment 137578 [details, diff] genkernel-3.4.9_pre10-aufs.patch Adds support for aufs
Created attachment 137580 [details] aufs-20071126.tar.bz2 The snapshot from aufs on 11/26 2007
I looked into this not too long ago. However, I really have no desire to include something in genkernel that hasn't even had an actual release. Also, unionfs is heading in the direction of being included in the kernel proper. It's been on the mm branch (iirc) for ~10 months already.
(In reply to comment #3) > I looked into this not too long ago. However, I really have no desire to > include something in genkernel that hasn't even had an actual release. Also, > unionfs is heading in the direction of being included in the kernel proper. > It's been on the mm branch (iirc) for ~10 months already. > I can understand that but since current genkernel implementation doesn't work with the beloved gentoo-sources, I thought that aufs was a nice replacement. So I think I can strip the module compilation part and patch the kernel by hand to have a working unionfs until it's included in gentoo-sources.
Maybe we'll consider inclusion once aufs has had a proper release.
Looking again, aufs requires a random smattering of kernel patches depending on certain circumstances such as kernel version and various features that you have enabled. This is definitely not going in unless it can be compiled against a vanilla kernel or it's includes upstream.