summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 14:47:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 14:47:52 -0400
commit54229acf2d42a6467b92ad38d0729b268f666be7 (patch)
treedaad7b1f2703019943ec8b2c92bd82e67f78aedc /doc
parent690fe061ccf08493bcaeb05969b56cc0735d3863 (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Use_reflinks_on_BTRFS_instead_of_symlinks___63__/comment_4_bbe2e6359f7b754bde9d61b5a8d5e672._comment18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/forum/Use_reflinks_on_BTRFS_instead_of_symlinks___63__/comment_4_bbe2e6359f7b754bde9d61b5a8d5e672._comment b/doc/forum/Use_reflinks_on_BTRFS_instead_of_symlinks___63__/comment_4_bbe2e6359f7b754bde9d61b5a8d5e672._comment
new file mode 100644
index 000000000..a26904883
--- /dev/null
+++ b/doc/forum/Use_reflinks_on_BTRFS_instead_of_symlinks___63__/comment_4_bbe2e6359f7b754bde9d61b5a8d5e672._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 4"""
+ date="2016-01-20T18:43:13Z"
+ content="""
+It's true; the directory special remote copies the files in and out. The
+main reason this is done is to get a useful progress display, which using
+`cp` wouldn't provide. Of course, if cp were using reflinks, it'd be so
+fast that a progress display would not be necessary! But often, reflinks
+cannot be used.
+
+It might be a good enhancement for the directory special remote to be
+configurable to use cp --reflink, or even autodetect if reflinks can be
+used (although I don't know how it would detect that).
+
+OTOH, you might be better off using `git clone --shared`. Recent versions
+of git-annex can hard-link objects between shared clones.
+"""]]