If you post the commands/process you went through, I could tell you if it would work in plugin form.
I followed the steps in the OP. All credit goes to bobbafetthotmail. Commands should be run as root; sudo as necessary.
To reduce the chance of people running out of RAM, it would be a good idea to require a minimum of 1GB.
Edit /etc/fstab to add noatime & remove realtime, and disable swap (should this be a user option?). Could use sed '/realtime,errors=remount-ro/noatime,errors=remount-ro/' or whichever is your preferred string manipulator. I don't recall for sure if the default is "realtime,errors=remount-ro" or just "errors=remount-ro".
Also add an entry to use tmpfs for /tmp.
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=<MyUUID> / ext4 noatime,errors=remount-ro 0 1
#UUID=<MySwapUUID> none swap sw 0 0
tmpfs /tmp tmpfs defaults,noatime 0 0
Install fs2ram. The download page with list of mirrors linked at https://packages.debian.org/sid/admin/fs2ram . I used the US mirror.
wget http://ftp.us.debian.org/debian/pool/main/f/fs2ram/fs2ram_0.3.12_all.deb
dpkg -i fs2ram*
Edit /etc/fs2ram/fs2ram.conf . The entries were derived from bobbafett's script that detects the recently changed files on the fs. This is a precomputed list so could be altered if necessary, but it should be accurate for standard OMV installs. On my install I have an entry for the transmission dir, but not everyone uses that so I omitted it here.
#<file system> <mount point> <script> <script option> <type> <options>
tmpfs /var/cache keep_folder_structure - tmpfs
tmpfs /var/log keep_file_structure - tmpfs
tmpfs /var/tmp - - tmpfs
tmpfs /var/lib/openmediavault/rrd keep_file_content - tmpfs
tmpfs /var/spool keep_file_content - tmpfs
tmpfs /var/lib/rrdcached/ keep_file_content - tmpfs
tmpfs /var/lib/monit keep_file_content - tmpfs
tmpfs /var/lib/php5 keep_folder_structure - tmpfs
Since /var/cache holds the apt-get cache, it can grow quite big. Add a daily cron job:
Finally,
ln –sf /proc/mounts /etc/mtab
Changes take effect on next boot. Pretty straight-forward, mostly config file manipulation.