virtio-win / kvm-guest-drivers-windows

Windows paravirtualized drivers for QEMU\KVM
https://www.linux-kvm.org/page/WindowsGuestDrivers
BSD 3-Clause "New" or "Revised" License
1.91k stars 377 forks source link

wiki update for virtiofs #1071

Open Inilien opened 3 months ago

Inilien commented 3 months ago

Is your feature request related to a problem? Please describe. Sorry, do not know of a proper way to suggest a wiki update. Decided to submit information here for now.

Currently virtiofs wiki leads to a configuration not usable by some applications.
The problem I was having was already discussed once in this project and the same solution worked for me.
Please add to the wiki:

For some use-cases you may need to mount your drive as a global one. To achieve that with WinFSP you need to

  • specify mount point \\.\M: (to create drive M:)
  • run virtiofs.exe as an administrator

Also would be great if case insensitivity section explained what exactly to do in the registry Please replace

Case insensitivity can be turned on by -i command-line parameter of CaseInsensitive registry key.

with

Case insensitivity can be turned on by

  • -i command-line parameter
  • CaseInsensitive registry key with type DWORD and value 1.

Additional context Note: For some reason, after I mounted my drive as a global one, Windows created recycle bin in it and wouldn't stop complaining about the bin being corrupted...
Deleting the folder $RECYCLE.BIN by hand or using fancy methods from the internet didn't help.
Asking Windows to not use it - finally stopped the errors.
After that I deleted the bin on the drive. But after I restarted the VirtioFS service, Windows applied default behaviour and started to use recycle bin in this mount again.
But for some reason it was no longer corrupted and there were no errors.

Not sure if this info is useful or not :shrug:

YanVugenfirer commented 2 months ago

@Inilien Can you please open a separate issue about the Recycle Bin?

Thanks.

kostyanf14 commented 1 week ago

@Inilien We moved the wiki to a separate repo (https://github.com/virtio-win/virtio-win.github.io/), to allow everyone to send fixes or suggestions. Please send PR to https://github.com/virtio-win/virtio-win.github.io/blob/main/Knowledge-Base/Virtiofs%3A-Shared-file-system.md