Fs2ram manages temporary file systems across reboots. Each tmpfs mountpoint can be associated with a pre-mount script, which is executed by fs2ram at each shutdown/reboot before the file system is unmounted. The pre-unmount script must print a post-mount script on standard output, which is saved and then run at boot time after fs2ram mounts the corresponding file system.
This package provides two pre-unmount scripts designed to preserve folder structure and file permissions across reboots: this is needed to allow hierarchies such as /var/cache or /var/log to be mounted as tmpfs.