I compiled mini_fo for 2.4.18 kernel (ie SL-C7x0 SL-C-860) for pdaxrom
mini_fo homepage:
http://www.denx.de/wiki/bin/view/Know/MiniFOHomeit allows to overlay a filesystem on top of a readonly fs.
I didn't make extensive tests so AS IS...
I have included the readme in the ipk ( /usr/local/share/doc/mini_fo/README)
Read it for more infos
example:
# depmod -a
# modprobe mini_fo
# mkdir /mnt/card/zgcc
# mkdir /mnt/card/zgccrw
# mkdir -p /opt/native/arm/3.4.4-xscale-softvfp/
# mount -o loop /mnt/card/zgcc-3.4.4.img /mnt/card/zgcc
# mount -t mini_fo -o base=/mnt/card/zgcc,sto=/mnt/card/zgccrw /mnt/card/zgcc /opt/native/arm/3.4.4-xscale-softvfp/
# ls /opt/native/arm/3.4.4-xscale-softvfp/include/
FlexLexer.h bfd.h c++ symcat.h
ansidecl.h bfdlink.h dis-asm.h
# rm /opt/native/arm/3.4.4-xscale-softvfp/include/symcat.h
# ls /opt/native/arm/3.4.4-xscale-softvfp/include/
FlexLexer.h ansidecl.h bfd.h bfdlink.h c++ dis-asm.h
# touch /opt/native/arm/3.4.4-xscale-softvfp/include/myheader.h
# ls /opt/native/arm/3.4.4-xscale-softvfp/include/
FlexLexer.h bfd.h c++ myheader.h
ansidecl.h bfdlink.h dis-asm.h
#