graysky2 / anything-sync-daemon

Symlinks and syncs user specified dirs to RAM thus reducing HDD/SDD calls and speeding-up the system.
https://wiki.archlinux.org/index.php/Anything-sync-daemon
MIT License
345 stars 45 forks source link

Using aufs as a replacement for overlayfs #44

Closed ThibaultLemaire closed 7 years ago

ThibaultLemaire commented 8 years ago

My kernel doesn't provide overlayfs functionality, so I was digging alternatives when I found this article which suggests "patching" your work with aufs.

Further improvement: Patch anything-sync-daemon or goanysync to use a (copy-on-write) union filesystem mount (e.g. http://aufs.sourceforge.net) to keep changes in RAM and only save to SSD on unmount/shutdown (aubrsync), instead of copying all data to RAM and having to sync it all back.

Which makes me want to ask :

First, what exactly does the author mean by "patching" ?

Second, were you aware of the existence of this article, and the alternative to overlayfs it suggests? If yes, why isn't it implemented in your script?

graysky2 commented 7 years ago

If your distro doesn't compile in overlayfs, you can compile your own kernel or open a feature request with your distro to have them provide it. I have no experience with aufs.