You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then start mutagen, wait files got synced on beta, execute:
$ echo ccc > 111
$ cat 111
ccc
$ cat 222
bbb
Now wait files got synced from beta to alpha, execute:
$ cat 111
ccc
$ cat 222
bbb
You can see mutagen just broke the hard link...
It not only will result in doubling the disk space usage, but will also lead to unexpected problems, because hard links excepted to point to the same data block.
We'll have to leave this as a known-issue for now. Adding support for hardlink detection/matching (analogous to rsync's -H/--hard-links) is possible, but it would be a fair amount of work.
xenoscopic
changed the title
Respect hard link
Add support for hardlink detection and matching
Apr 25, 2024
The main problem here is that mutagen will break all hard links between beta and alpha...
For example, on alpha, we execute:
Then start mutagen, wait files got synced on beta, execute:
Now wait files got synced from beta to alpha, execute:
You can see mutagen just broke the hard link...
It not only will result in doubling the disk space usage, but will also lead to unexpected problems, because hard links excepted to point to the same data block.
Related:
#309
The text was updated successfully, but these errors were encountered: