Thank you for your previous message here: Copy-on-Write/reflink support for unlocked files.
I indeed discovered it was done for Linux after I posted it, but macOS with APFS also supports reflinks, under the -c
(clonefile) option, which does the same as the --reflink=always
option on Linux.
The biggest problem is that there is no auto option, but in theory it’s possible to first try the clone option, and then fall back if it doesn’t work, although that would be inefficient.
I can try to code something, although I am not that proficient in Haskell, or run test code if needed on macOS 12.
-- Lena Wildervanck
This todo aleady exists for the same thing: https://git-annex.branchable.com/todo/support_macOS__39___cp_-c___40__cp_--reflink_equivalent__41__/