After a system crash, Ghidra greeted me with the message
when I tried to open the project.
The only place in the source code that contains this error message is line 130 of
Unsupported file system schema: idata
LocalFileSystem.java ((source code on github)). The corresponding exception only flies, if the function
hasAnyHiddenFiles returns true. And this, in turn, only seems to happen, when there exists a file starting with
I really want to pretend as if that helped me a lot. It did not. I finally decided to check out the project directory and look for files starting with
~ though. Changing into the
something.rep directory and executing the following command showed me that there where two such files:
Interestingly they where empty, so I assumed they where not written correctly when Ghidra crashed. Thankfully there where two files ending in
$ find . -name '~*' -type f -printf '%s\t%p\n'
.bak, which are probably backup files. Overwriting the
.dat files with the corresponding
.bak files solved the problem for me #noideawhatiamdoing.