Closed testbird closed 7 years ago
Plz send a pull request.
I'm sorry I can't.
But please leave the issues open, so others don't have to fall to the same trap as I had in assesing asd. It can cause serious data corruption as long as it is not made robust.
This has been in the addressed in the man page for a while now... closing.
https://github.com/graysky2/anything-sync-daemon/blob/master/doc/asd.1#L194
As proceding with files open causes data loss/corruption, better return an error and abort if there are open files (check
lsof $RAMPATH
and how ramlog implemented this), to avoid creating/destroying the rampath (symlink/mount) on top/below of open files.This should especially prevent messing up data integrity when the system is running, and user or package manager stops/starts asd.