News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux 2 Moving into General Availab... by wutwutwutwut on Wednesday April 15, 2020 @03:08AM (#22875315)
You can access files on the Linux file system from Windows.
Re:Windows Subsystem for Linux 2 Moving into General Availab... by sieabahlpark on Wednesday April 15, 2020 @03:35AM (#22875453)
Has that changed from wsl 1? I've seen bad things about directly trying to modify the files within wsl.

It's not the appdata folder right?

Re:Windows Subsystem for Linux 2 Moving into General Availab... by noisem4ker on Wednesday April 15, 2020 @04:19AM (#22875631)
Since version 1903, the proper way to access Linux files for writing is to invoke explorer.exe from within WSL. A transparent 9P mount is created for the working directory and files are made accessible through a regular Explorer window.

https://devblogs.microsoft.com/commandline/whats-new-for-wsl...

Re:Windows Subsystem for Linux 2 Moving into General Availab... by cosmie on Wednesday April 15, 2020 @04:11AM (#22875588)
Microsoft is even integrating seamless access shortcuts to the WSL filesystems as top level citizens within File Explorer[1].

https://www.theverge.com/2020/4/8/21213783/microsoft-windows...

Re:Windows Subsystem for Linux 2 Moving into General Availab... by rfoo on Wednesday April 15, 2020 @04:21AM (#22875639)
This has been changed. WSL 2 VM now runs a 9p file server, and on the Windows side it mounts to \\wsl$. Of course, the performance are degraded. It would certainly take longer for Intellij to index your project.
Re:Windows Subsystem for Linux 2 Moving into General Availab... by WorldMaker on Wednesday April 15, 2020 @12:54PM (#22880041)
WSL 1 also supports the 9p file server and \\wsl$, you just have to upgrade to at least Windows 10 1903.

(Also, hints are that Microsoft is exploring adding shortcuts to \\wsl$ directly to the File Explorer left hand tree.)