-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Currently, WSL does not recognize existing ext2/3/4 partitions on any device. It will be cool to have this feature incorporated into WSL kernel so that on a dual boot system, Windows can access Linux partitions directly via WSL.
Therefore, currently, I have to use ext2fsd (https://github.com/matt-wu/Ext3Fsd/) for Windows to see ext2/3/4 partitions. However, there is a problem. For Windows file explorer (i.e., explorer.exe), the soft-linked files are displayed properly and can be accessed.

However, for Windows subsystem for Linux (WSL), all soft-linked files cannot be accessed nor read at all.

As a consequence, I have to reinstall all packages in anaconda again, wasting much more disk space.
In fact, I found that it is possible to run Linux binary executable on native ext2/3/4 Linux system partition using the /lib64/ld-linux-x86-64.so.2 trick. However, the soft-link issue causes most of the .so library files fail to load.

By implementing this feature, most of the programs can be run in both WSL and native Linux.