WinError 1005 on realpath()
Steps to reproduce:
- Have a Windows guest
- Mount virtio-fs on Z:
- Create directory
Z:\foobar
- Run python interpreter
- Call
os.path.realpath('Z:\\foobar')
What happens:
OSError: [WinError 1005] The volume does not contain a recognized file system.
That's the line where the error is raised: https://github.com/python/cpython/blob/b77158b4da449ec5b8f682816a79d004fd65ed07/Lib/ntpath.py#L674