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

Allow using zram based device #54

Closed Glandos closed 2 years ago

Glandos commented 6 years ago

Update bail filter to allow using Zram devices, which are not tmpfs. Also, better filtering of tmpfs, to be sure the grep does not match for path like /path/to/fake/tmpfs mounted.

sjuxax commented 4 years ago

Heh, just hacked this in myself before checking the PRs. Would be nice if @graysky2 could merge, since it appears the original restriction on tmpfs-only is just a sanity check and that no tmpfs-specific stuff is used.