3

WSL挂载移动硬盘U盘

 1 year ago
source link: https://zhangyiming748.github.io/post/wsl_mount_disk/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

WSL挂载移动硬盘U盘

2023-08-18 WSL Windows

假设你的移动硬盘在windows下显示为 G:\

  1. 新建文件夹g
sudo mkdir /mnt/g
  1. 挂载盘符g
sudo mount -t drvfs G: /mnt/g
  1. 大功告成.进入/mnt/g即可

  2. 弹出移动硬盘,这样才能在windows下正常弹出,否则是会一直占用的.

sudo umount /mnt/g  

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK