The cowloop-driver is a copy-on-write loop driver (block device) to be used on top of any other block driver. The cowloop-driver shields the lower driver from any write accesses. Instead, it diverts all write-accesses to an arbitrary regular file. There are versions for both 2.4 and 2.6 kernel.
Created attachment 46220 [details] cowloop-2.11.ebuild I couldn't compile this package successfully. First, it complained I did not have a 2.6 kernel when it didn't find /lib/modules/(my kernel version)/misc. I created the directory manually, and this is what I got: make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r9' Makefile:500: /usr/src/linux-2.6.9-gentoo-r9/arch/x86/Makefile: No such file ordirectory make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: *** No rule to make target `/usr/src/linux-2.6.9-gentoo-r9/arch/x86/Makefile'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r9' make: *** [cowloop.ko] Error 2 make: *** Waiting for unfinished jobs....
sys-fs/cowloop-2.11 added. Still testing 1.4 for 2.4 kernels.
cowloop 1.4 added. Gotta love the cows. Have fun.