最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

win10子系统ubuntu文件夹位置_Windows NT子系统中的Ubuntu文件系统根目录在哪里,反之亦然?...

运维笔记admin22浏览0评论

问题描述

我已经在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

发布评论

评论列表(0)

  1. 暂无评论