summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex__58___content_is_locked__while_trying_to_move_under_NFS_and_pidlock/comment_12_d499a2f44e8ee2f39ee959f4d6373570._comment
blob: 5ab7c9e118c44b48ba75101ae12b46a7b0ea71af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[!comment format=mdwn
 username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
 subject="comment 12"
 date="2016-03-10T04:36:12Z"
 content="""
so -- shouldn't annex at least upon init sense if repo is under nfs?  if to be done platform independent way then it could do smth like

[[!format sh \"\"\"
python -c 'from glob import glob; import os; f=open(\".tmp-test\", \"w\"); os.unlink(\".tmp-test\"); assert(not glob(\".nfs*\"))'
\"\"\"]]

somewhere under .git/annex/tmp .. so if .nfs* file gets generated -- under nfs.  Seems to work for me in limited set of tests -- assertion fails all the time under NFS ;)
"""]]