3 ms·
If you need to run dev stuff in a Linux box, why do you need a performant file system for WSL when using windows directories?
by httpsterio 6y ago
If you need to run dev stuff in a Linux box, why do you need a performant file system for WSL when using windows directories?
- nickjj 6y agoWSL 2's file system is running in a VM with limitations. I have ~200gb of files sitting on a non-SSD that contain things like videos and a bunch of other files that I don't want to put in WSL. I'd really like to be able to use tools like find, grep and friends to interact with those files. With painfully slow access to Windows mounted drives this makes using those tools not possible in practice. No one wants to wait 15 seconds to grep through a directory where the same operation finishes in 1 second in native Linux. This becomes a real nuisance with my backup script that rsyncs things from WSL 2's file system + Windows mounted drive onto an external drive. It takes rsync over 5 minutes (!) just to figure out what it needs to send over the wire because statting hundreds of thousands of files on a Windows mounted drive is ridiculously slow. With WSL 1 it used to take about 5 seconds to run rsync with that backup script to transfer a very small diff of files. I'm not exaggerating here either. It's literally 5 minutes vs 5 seconds and I'm sure native Linux would probably be 2-3 seconds.