VMware-如何在ubuntu虚拟机上更改共享文件夹的路径

时间:2019-06-06 07:41:45

标签: ubuntu vmware mount

我在VMware上创建了一个共享文件夹,该文件夹在我的ubuntu虚拟机上挂载到/ mnt / hgfs / shared-folder。

相反,我想将其安装到/ path / to / my / web / directory /

我该如何实现?

1 个答案:

答案 0 :(得分:0)

假设主机存在(即在使用VMware设置共享文件夹之后),请使用以下命令安装主机共享文件夹:

vmhgfs-fuse .host:/shared-folder /path/to/my/web/directory/

使用此命令卸载默认安装点:

sudo umount /mnt/hgfs