On Fri, 2006-02-17 at 21:12 -0500, Josef Sipek wrote:
> On Fri, Feb 17, 2006 at 07:56:56PM -0500, Christopher Fowler wrote:
> > I'm having an issue compiling the module for kernel 2.4.32.
> >
> > It appears the Makefile is for kernel 2.6.X. Where can I download a
> > Makefile for 2.4.X?
>
> The 1.1.x series doesn't support 2.4 anymore. You can try to use the
> last 1.0.x release, but there are many problems that got fixed in 1.1.
>
> In other words: you want to use 2.6 and 1.1.x :)
>
Well I got it working.
Here is what I do in initrd.
1. Create directories
/sysroot/tmpfs
/sysroot/union
/sysroot/cramfs
2. Mount my goods
mount -t tmpfs none /sysroot/tmpfs
mount -t cramfs /dev/root /sysroot/cramfs
mount -t unionfs -o dirs=/sysroot/tmpfs=rw:/sysroot/cramfs=ro
none /sysroot/union
3. pivot root
pivot_root /sysroot/union /sysroot/union/initrd
4. exit linuxrc
Works great. I can create files in tmp, etc.
I only have 2 problems.
1. When I compile the 1.0.4 unionfs module the result is a 3M file :(
2. After I do all this my memory usage is around 24m. Without doing
this it is only 5m.
I tried to strip the unionfs.o module but the result was a driver that
would load but not work.
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs