问题描述
我已经在Windows 10上安装了Ubuntu子系统(在设置中启用了功能之后),但是位于驱动器中的Ubuntu文件系统根目录在哪里?
最佳解决思路
对于从Windows商店安装的Ubuntu:
Each distribution you install through the store is installed to that application’s appdata directory. For example: C:\Users\\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState – benhillis
在Windows子系统for Linux的早期版本中,Ubuntu文件系统位于%localappdata%\Lxss(例如,C:\Users\Username\AppData\Local\Lxss–用Windows上的用户名替换用户名)。参见the WSL blog post on File System Support:
The primary file system used by WSL is VolFs. It is used to store the Linux system files, as well as the content of your Linux home directory. As such, VolFs supports most features the Linux VFS provides, including Linux permissions, symbolic links, FIFOs, sockets, and device files.
VolFs is used to mount the VFS root directory, using %LocalAppData%\lxss\rootfs as the
问题描述
我已经在Windows 10上安装了Ubuntu子系统(在设置中启用了功能之后),但是位于驱动器中的Ubuntu文件系统根目录在哪里?
最佳解决思路
对于从Windows商店安装的Ubuntu:
Each distribution you install through the store is installed to that application’s appdata directory. For example: C:\Users\\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState – benhillis
在Windows子系统for Linux的早期版本中,Ubuntu文件系统位于%localappdata%\Lxss(例如,C:\Users\Username\AppData\Local\Lxss–用Windows上的用户名替换用户名)。参见the WSL blog post on File System Support:
The primary file system used by WSL is VolFs. It is used to store the Linux system files, as well as the content of your Linux home directory. As such, VolFs supports most features the Linux VFS provides, including Linux permissions, symbolic links, FIFOs, sockets, and device files.
VolFs is used to mount the VFS root directory, using %LocalAppData%\lxss\rootfs as the