1. 確認VMtools已經裝好,開啟共享文件夾,設置好共享目錄

2.執行命令
  sudo mount -t vmhgfs .host:/ /mnt/hgfs
如果出現錯誤:
  Error: cannot mount filesystem: No such device

使用: vmhgfs-fuse .host:/ /mnt/hgfs

設置開機自動掛載 vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other -o nonempty

用vmware-hgfsclient命令能看到設置的共享目錄