DEV Community

Discussion on: How to make WSL2 even faster, with fast git

Collapse
 
obriat profile image
O'Briat • Edited

I try to link directly the \\wsl$ and it seems to work, disk performance are back to normal and I doesn't need a startup script.

C:\>mklink /d C:\FOO \\wsl$\debian\BAR
$ cd /BAR/
dd if=/dev/zero of=./testfile bs=1M count=1000 
# x4 to x6 faster than /c/ (or /mnt/c/ if you don't use "root = /" option in wsl.conf)

[Edit]: after navigating through these folders, Explorer switchs path from C:\... to \\wsl$\... and I cannot open the new path with my IDE (phpstorm)