I'm reading about filesystems for embedded linux. If you're using a ramdisk, how its supposed to work is a compressed image of the filesystem is kept in the boot partition, and is copied into the root partition at startup. This is supposed to be a relatively efficient way to do things, which is good for embedded systems, but the problem is that changes aren't persistent. You cant save a file that will be there after a reboot.
So I'm wondering if a way around this would just be to replace the compressed filesystem image? Like at shutdown, take your existing filesystem, with whatever changes are there, and make that to a new image to put in the boot partition? That way the next time you start up all the files you put there will be restored along with the core filesystem.