Skip to content

Soft links on Linux ext2/3/4 partition not recognized by WSL #4531

@xuancong84

Description

@xuancong84

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.
image
However, for Windows subsystem for Linux (WSL), all soft-linked files cannot be accessed nor read at all.
image
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.
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions