系统: ubuntu20、vmware15
问题:vm-tools已安装,共享文件夹不能显示,/mnt/下没有hgsf,用vmware-hgfsclient命令能看到设置的共享目录
解决办法:
1. 确认VMtools已经装好,开启共享文件夹,设置好共享目录
2.执行命令
sudo mount -t vmhgfs .host:/ /mnt/hgfs
如果出现错误:Error: cannot mount filesystem: No such device
使用: vmhgfs-fuse .host:/ /mnt/hgfs
如果出现错误:Error: cannot mount filesystem: No such device
再使用:sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o nonempty
最后可以解决问题。
用vmware-hgfsclient命令能看到设置的共享目录