系統(tǒng): ubuntu20、vmware15
問題:vm-tools已安裝,共享文件夾不能顯示,/mnt/下沒有hgsf,用vmware-hgfsclient命令能看到設(shè)置的共享目錄
解決辦法:
1. 確認(rèn)VMtools已經(jīng)裝好,開啟共享文件夾,設(shè)置好共享目錄
2.執(zhí)行命令
sudo mount -t vmhgfs .host:/ /mnt/hgfs
如果出現(xiàn)錯誤:Error: cannot mount filesystem: No such device
使用: vmhgfs-fuse .host:/ /mnt/hgfs
如果出現(xiàn)錯誤:Error: cannot mount filesystem: No such device
再使用:sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o nonempty
最后可以解決問題。
用vmware-hgfsclient命令能看到設(shè)置的共享目錄