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 bind mounts instead of symlinks #45

Closed ThibaultLemaire closed 7 years ago

ThibaultLemaire commented 8 years ago

In an original attempt to make asd able to target directories that are mountpoints (where moving is impossible, thus leaving no room for symlinking), I ended up replacing completely the symlinking technique by bind mounts. While this offers a number of advantages, it does come at a cost.

Pros :

Cons :

Also, behaviour when using overlayfs needs testing (this and the use in conjunction with pacman), for I cannot test it myself, and therefore cannot guarantee it will work as expected.

ThibaultLemaire commented 7 years ago

I see it now conflicts with your latest changes, I will try and fix that