Add another reflink support request

This commit is contained in:
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb 2022-11-18 22:02:20 +00:00 committed by admin
parent 63b33d4181
commit 58eedf062d

View file

@ -0,0 +1,7 @@
Thank you for your previous message here: [[/todo/Copy-on-Write__47__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 its possible to first try the clone option, and then fall back if it doesnt 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.