Hi. I have a git-annex repo on a FAT32 file system that only replies:
git-annex: openFile: resource busy (file is locked)
to most commands. Any hint as to what I could do to fix it? It is a v7 repo.
git-annex version: 7.20181121 operating system: darwin x86_64
I mean, yes, that is an error message that can occur due to some newbie haskell mistake, OTOH I have been writing haskell for 10 years and generally don't make that mistake anymore and why would it only occur on OSX on FAT?
Also, when I do that newbie mistake on purpose, the error message I get includes the name of the file that it's having trouble with. It's strange that the error message you show did not.
This makes me wonder if you censored the filename from the message. The lack of specifics about exactly which git-annex commands do this and which don't also does not help me in trying to think about your problem.
I suggest you use dtrace or something to examine the system calls that git-annex is making, which should give a hint about which file it's having the problem with.
Hello, I have similar problem, but with exFAT on macOS 10.13.6. Output is not stripped, it's no filename there:
I tried
sudo dtruss -f git annex info --fast --debug
, and this is an excerpt from the terminal:Removing
.git/annex/*.lck*
hadn't helped.I use git-annex version 7.20190322 from Homebrew: