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
cp command has an option to make reflinks (for example: cp -ra --reflink=always) instead of hardlinks. Reflinks are only available on copy-on-write filesystems like btrfs or zfs.
Reflinking means that two files will have identical data blocks up to the moment when any of them will be changed, then copy-on-write mechanins will duplicate changed data blocks for each file.
Hardlinking is just when two filenames point to same physical file, changing one of them means changing another 'magically'
So the issue is about adding reflinking deduplication mechanism to the rdfind.
The text was updated successfully, but these errors were encountered:
I agree this would be useful. I looked into how cp implemented it, a few years ago. I think it was a bit complicated. I will put this as a duplicate of #17 as it is closely related.
cp
command has an option to make reflinks (for example:cp -ra --reflink=always
) instead of hardlinks. Reflinks are only available on copy-on-write filesystems like btrfs or zfs.Reflinking means that two files will have identical data blocks up to the moment when any of them will be changed, then copy-on-write mechanins will duplicate changed data blocks for each file.
Hardlinking is just when two filenames point to same physical file, changing one of them means changing another 'magically'
So the issue is about adding reflinking deduplication mechanism to the
rdfind
.The text was updated successfully, but these errors were encountered: