当前位置: 首页 > news >正文

深圳市建委网站免费外链网站

深圳市建委网站,免费外链网站,用户体验设计经典案例,毕节市网站建设58同城Access Linux filesystems in Windows and WSL 2 从 Windows Insiders 预览版构建 20211 开始,WSL 2 将提供一项新功能:wsl --mount。这一新参数允许在 WSL 2 中连接并挂载物理磁盘,从而使您能够访问 Windows 本身不支持的文件系统&#xff0…
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
要挂载磁盘,请打开具有管理员权限的 PowerShell 窗口并运行:
To mount a disk, open a PowerShell window with administrator privileges and run:
wsl --mount <DiskPath>
要在 Windows 中列出可用磁盘,请运行:
To list the available disks in Windows, run:
wmic diskdrive list brief
要从 WSL 2 中卸载和分离磁盘,请运行:
To unmount and detach the disk from WSL 2, run
wsl --unmount <Diskpath>
磁盘路径可在 “DeviceID ”列中找到。通常是 \.\.\PHYSICALDRIVE* 格式。下面是一个将特定硬盘分区挂载到 WSL 并浏览其文件的示例。
The disks paths are available under the ‘DeviceID’ columns. Usually under the \\.\\\.\PHYSICALDRIVE* format. Below is an example of mounting a specific partition of a given hard disk into WSL and browsing its files.
Accessing these files with File Explorer
挂载后,也可以通过 Windows 资源管理器访问这些磁盘,方法是导航到\\wsl$,然后导航到挂载文件夹。
Once mounted, it’s also possible to access these disks through the Windows explorer by navigating to \\wsl$ and then to the mount folder.
Limitations
默认情况下,wsl --mount 会尝试将磁盘挂载为 ext4。要指定文件系统,或了解更多高级方案,请查看"在 WSL 2 中挂载磁盘"。
By default, wsl --mount attempts to mount the disk as ext4. To specify a filesystem, or for more advanced scenarios, check out Mount a disk in WSL 2.
另外请注意,此功能有一个限制,即只能将物理磁盘连接到 WSL 2。目前还无法附加单个分区。有关限制的更多详情,请点击此处。
Also please note that this feature comes with the limitation that only physical disks can be attached to WSL 2. At this time, it’s not possible to attach a single partition. More details on the limitations here.
参考;
Access Linux filesystems in Windows and WSL 2 - Windows Command Line (microsoft.com)
http://www.dinnco.com/news/33504.html

相关文章:

  • 广州越秀发布山西seo优化
  • 网站建设需要会什么菏泽资深seo报价
  • 网络诈骗做网站 维护如何做推广引流赚钱
  • 自助网站建设厦门网站制作海外网络专线
  • 福州推广企业网站网店运营在哪里学比较好些
  • 备案一个网站为什么需要域名开展网络营销的企业
  • 外贸定制网站湖南企业竞价优化服务
  • 如何做行业平台网站百度自媒体注册入口
  • 网站建设与维护是什么意思电商运营公司排名
  • 吉安网站建设0796abc品牌公关
  • 刷网站排名怎么刷宁阳网站seo推广
  • 延安有哪些做网站的公司网站seo招聘
  • 4399小游戏网页版在线seo站长之家
  • 服装织梦网站源码seo网站推广建站服务商
  • wordpress不用服务器广西seo
  • 购物网站界面设计策划安卓优化大师最新版下载
  • 长春网站建设外包360竞价推广
  • 茶叶网络营销网站建设论文武汉百度关键词推广
  • wordpress做小程序商城北京搜索引擎优化主管
  • 大连哪家公司做网站好seocms
  • 有没有免费做片头的网站站长之家是什么网站
  • 中国最新军事新闻报道seo快速排名优化方式
  • 一家专门做母婴的网站百度极速版客服电话
  • 网站开发流程分析百度sem认证
  • 网站怎么做免费seo搜索合肥seo培训
  • 做淘宝客网站要备案吗中央电视台一套广告价目表
  • 做网站用php如何学习seo网络营销推广排名
  • 郑州门户网站制作知识营销成功案例介绍
  • 淘客网站超级搜怎么做正规的培训机构有哪些
  • 网址导航打不开怎么办兰州seo快速优化报价