Unionfs is a linux kernel module which allows filesystems to be mounted on top of each other... Submitting almost-done ebuild (don't have time). Resolving the sandbox violation when installing the module should be the last thing necessary... Hope it helps, looking forward to seeing it in portage, soon... Thanks... Radek
Created attachment 48017 [details] unionfs-1.0.5.ebuild
Created attachment 48018 [details, diff] Makefile26.patch
Just out of curiosity, for what do you use it? Maybe we could direct it to the right people then and find a maintainer for it.
This is a cool thing indeed. You can mount both /mnt/partition1/movies and /mnt/partition2/movies to /mnt/movies and you can see something like a logical-or of the two dirs. This can of course be achieved with LVM or RAID but when one drive fails, you lose everything... :-( Using unionfs you lose just the affected part... ...you can also do stuff like mounting a writeable fs over a CD so the it feels like you can write onto the CD. Unionfs has been in BSD for a while so you can try to find more documentation there...
Looking at that Makefile patch, "`uname -r`" isn't ideal - it should install to whatever version /usr/src/linux is pointing to; not what the running kernel is.
The ebuild also should not use the kernel-mod eclass
I'm sorry guys, I'm not an ebuild guru. Just robbed the kernel-mod stuff from hostap-driver... :-(
Thank you, in the tree now (with the correct linux-mod of course) I did not add it as version 1.0.6, because that version did not compile for me. Kernel: 2.6.10-ac8
Thank you... 1.0.6 didn't work for me aswell so I'm gonna stick with 1.0.5 for a while... :-)