File: comment_15_a1ce74ef47a0512bc56ff323c2c03c75._comment

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (12 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
[[!comment format=mdwn
 username="Mowgli"
 avatar="http://cdn.libravatar.org/avatar/17ab194dddf7b7da59ec039cbb3ac252"
 subject="reflink and subvolume"
 date="2018-11-21T19:01:11Z"
 content="""
It doesn't work well if the source of the copy is in a btrfs subvolume and the cache is in another subvolume of the same filesystem.

With that setup every file is really copied instead of using reflink=always.

I solved it currently by copying .git/annex/objects manual into the cache (`cp -a --reflink=always .git/annex/objects ~/.cache/annex/` and afterwards doing the git annex cp which recognice the existence of the objects.
"""]]