News for hackers. Stuff that matters.
Re:WSL2 can now mount Linux ext4 disks directly by qayxc on Tuesday November 09, 2021 @07:58AM (#29161123)
Seamless cross-system access to files and programs.

Show me a VM that allows me to access the entire host and client filesystem seamlessly without barriers.

WSL allow you to do just that and for that alone it's very useful. You can automate tasks using Windows-only software (compilers, etc.) with Linux userland tools and run both Linux and Windows software without resorting to Wine or similar translation layers that come with their own quirks and drawbacks.

Want to test whether your software package works on Linux as well? No problem, just open a terminal and compile on Linux in the same file system without having to deal with shared folders and configurations.

That's the major selling point for me.

Re:WSL2 can now mount Linux ext4 disks directly by Mashimo on Tuesday November 09, 2021 @08:02AM (#29161154)
> without having to deal with shared folders and configurations.

Does that work that easily on WSL2? I thought that was mostly a WSL1 things, and thus I have not upgraded yet.

Re:WSL2 can now mount Linux ext4 disks directly by Bayart on Tuesday November 09, 2021 @08:09AM (#29161232)
WSL2 can still communicate across file-systems, though it's not particularly advised. For that specific task WSL1 is probably faster.
Re:WSL2 can now mount Linux ext4 disks directly by nikau on Tuesday November 09, 2021 @07:38PM (#29169596)
Its fine for most day to day tasks, for example I have a simple "~/d" symlink to my windows "Downloads" folder that I can use to fetch files I've downloaded in windows Chrome.
Re:WSL2 can now mount Linux ext4 disks directly by Bayart on Wednesday November 10, 2021 @08:38AM (#29174470)
It's serviceable for one-offs, but you can't do any really high throughput stuff with that since it's going through a network protocol. For example you really need to keep your git repos on the WSL fs, rather than in the Windows tree. The upside is that they thought about it and Visual Code integration is seamless.
Re:WSL2 can now mount Linux ext4 disks directly by nikau on Thursday November 11, 2021 @02:25AM (#29185364)
Luckily most of my is pretty segregated - either its all on Linux or all on Windows.