Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201038 - Replacement for unionfs by aufs in genkernel
Summary: Replacement for unionfs by aufs in genkernel
Status: RESOLVED LATER
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Genkernel Maintainers
URL: http://aufs.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 00:03 UTC by Michael Zanetta
Modified: 2007-12-23 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
genkernel-3.4.9_pre10-aufs.patch (genkernel-3.4.9_pre10-aufs.patch,22.78 KB, patch)
2007-12-03 00:04 UTC, Michael Zanetta
Details | Diff
aufs-20071126.tar.bz2 (aufs-20071126.tar.bz2,170.10 KB, application/octet-stream)
2007-12-03 00:06 UTC, Michael Zanetta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zanetta 2007-12-03 00:03:55 UTC
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:
Comment 1 Michael Zanetta 2007-12-03 00:04:52 UTC
Created attachment 137578 [details, diff]
genkernel-3.4.9_pre10-aufs.patch

Adds support for aufs
Comment 2 Michael Zanetta 2007-12-03 00:06:47 UTC
Created attachment 137580 [details]
aufs-20071126.tar.bz2

The snapshot from aufs on 11/26 2007
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-03 02:33:58 UTC
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.
Comment 4 Michael Zanetta 2007-12-03 18:07:05 UTC
(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.
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-23 21:21:49 UTC
Maybe we'll consider inclusion once aufs has had a proper release.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-23 21:29:43 UTC
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.