-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtiofs support for case-insensitivity #669
Comments
davispuh hi, Thanks, |
There are many programs with such issues. But one example is Steam (https://store.steampowered.com/about/). Some parts of code are trying to access If I run it from Samba share then it works fine since Samba handles case insensitivity but that's not using Virtiofs so performance is worse. Also this isn't only file with such casing issue. You can either symlink it or copy to have both names but that just leads to next issue. So case insensitivity really needs to be implemented in Virtiofs. |
@davispuh Z:>echo testing > TEST.txt Z:>type test.txt Z:>echo testing > c:\TEST.txt Z:>type c:\TEST.txt BR, |
Can confirm, several games in my steam library won't run due to this. |
Hello All, Please help us understanding you use cases for using virtio-fs, and thus make us virtio-fs support better. Thanks a lot, |
Ironically, I ran into this while trying to compile virtio-fs. Not exactly self hosting ;) Reading through the code, am I correct in believing that the case folding would have to be done either
I, for one, don't like that first option because I either have to limit my shared folder to a specific directory or lose case insensitivity on my home folder (not happening). The second option would be dependent on libvirt/qemu's openness to such behavior (which would certainly need to flaggable), implementing case folding (which will be annoying to get right), and then exposing the new flag in the XML of libvirt. Specifically, I'm saying does it look to be something this project can not work around. I say this because it looks like the file name lookup request is done via a call to DeviceIoControl, which I suspect passes through a shim driver to qemu's virtio pci device. |
Enhancing QEMU\libvirt is possible. When having concrete proposal, we can discuss it on appropriate mailing lists. |
@YanVugenfirer, What mail list do you recommend? |
Encountered the same issue :( Cannot compile my Visual Studio projects because of this |
This has been addressed already in https://bugzilla.redhat.com/show_bug.cgi?id=2026299 . Using a newer release from https://github.com/billziss-gh/winfsp/releases, in the Windows guest, open regedit, add HKEY_LOCAL_MACHINE\SOFTWARE\VirtIO-FS\CaseInsensitive as a DWORD with value 1 and restart the virtio-fs service or reboot. Alternatively, the virtiofs binary can be started with -i. Thanks, |
Hello @dblueman. If I want to use multiple mount points mentioned in multiple-virtio-fs-instances, should I change the command to:
Not sure if I understand it correctly. |
Yes |
Currently if a linux case-sensitive filesystem is mapped to Windows guest using virtiofs then a lot of programs doesn't work trying to access files on this mapped disk because of genius developers unable to stick to single file casing at different parts of program.
eg. one function loads
one.DLL
while different function usesOne.dll
and so on.It causes this mapping hardly usable...
Are there any plans of adding support for case insensitivity?
The text was updated successfully, but these errors were encountered: