git-annex/doc/todo/use_cp_reflink.mdwn
Joey Hess 161823d6ea Only use cp -a if it is supported, falling back to cp -p or plain cp.
* cp --reflink=auto is used if supported, and will make git annex unlock
  much faster on filesystems like btrfs that support copy of write.
2010-11-18 13:49:01 -04:00

7 lines
230 B
Markdown

The unlock command needs to copy a file, and it would be great to use this:
cp --reflink=auto src dst
O(1) overhead on BTRFS. Needs coreutils 7.6; and remember that git-annex
may be used on systems without coreutils..
[[done]]