blob: 430e26f5f05e931fa316fe4c5c3b83d7ce340da8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-02-04T19:31:32Z"
content="""
git-annex uses posix file locking to avoid scenarios that could
otherwise result in data loss when dropping a file.
This indeed involves keeping a file open and locked while removing it.
Since NFS's posix file locking support ranges from poor to completely
broken, it's not wise to use git-annex over NFS at all. It's much nicer
to use it locally, with a git remote accessing the file server over
eg, ssh.
I can't see any changes to git-annex that could improve its handing
of NFS, unless there's a good way to detect a NFS filesystem and make
`git annex init` refuse to set up a repository there.
"""]]
|