File: use_cp_reflink.mdwn

package info (click to toggle)
git-annex 3.20120629
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,000 kB
  • sloc: haskell: 12,228; makefile: 93; ansic: 84; perl: 37; sh: 10
file content (7 lines) | stat: -rw-r--r-- 230 bytes parent folder | download
1
2
3
4
5
6
7
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]]