Access Linux filesystems in Windows and WSL 2
从 Windows Insiders 预览版构建 20211 开始,WSL 2 将提供一项新功能:wsl --mount。这一新参数允许在 WSL 2 中连接并挂载物理磁盘,从而使您能够访问 Windows 本身不支持的文件系统(如 ext4)。
Starting with
Windows Insiders preview build 20211, WSL 2 will be offering a new feature: wsl --mount. This new parameter allows a physical disk to be attached and mounted inside WSL 2, which enables you to access filesystems that aren’t natively supported by Windows (such as ext4).
因此,如果你使用不同的磁盘进行 Windows 和 Linux 双启动,现在就可以从 Windows 访问 Linux 文件了!
So, if you’re dual booting with Windows & Linux using different disks, you can now access your Linux files from Windows!
Getting started
要挂