Replies: 1 comment
-
|
Splitting symlinks into its own issue, as it’s actually a separate topic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I also haven’t considered hardlinks so far, so their behaviour is not well-defined.
Hardlinks are quite tricky, because their behaviour depends on how the snapshots were created, or whether you compare two snapshots against each other, or whether you compare one snapshot against the original directory tree.
cp -Rfor creating a snapshot, then all hardlinks from the original directory tree are created as individual files in the snapshot.rsync -r --hard-linksfor creating a snapshot, then all hardlinks from the original directory tree are cloned (as hardlinks) in the snapshot.The other issue is that it’s more complex to determine the “redundant” hardlinks within the same snapshot in the first place.
Not sure yet, what the best solution is here. I’m also not sure how common this problem actually is, or whether the additional complexity of solving it is worth the benefit.
Beta Was this translation helpful? Give feedback.
All reactions