What you are looking for is sometimes called "union file system". There
exist some variations of such file systems, unfortunately there is none
in the official kernel. It seems that Linus doesn't like the idea.
Of course this is not related to busybox.
You may want to look at the implementation in openwrt.
Sameer Naik schrieb:
Hello,
I have a rather unusual query.
Consider that i have a readonly filesystem mounted at / and that the
/etc folder consists of some files. Is is possible to mount a ramfs
filesystem at /etc such that the existing files in the /etc partition
are still accessible and any new files written to the /etc partition
are saved in the ramfs (which will be lost upon reboot).
To illustrate the query visually.
$ ls /etc
fstab mtab
$ (mount ram filesystem at /etc)
$ ls /etc
fstab mtab
$ touch /etc/file
$ ls /etc
fstab mtab file
$ umount /etc
$ ls /etc
fstab mtab
I hope this helps you understand my query.
Thanks and Regards
~Sameer
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox