fedora32 vmware自动挂载共享目录

1、vim ~/share

手动挂载

#!/bin/bash

vmhgfs-fuse -o allow_other .host:/$(vmware-hgfsclient) /mnt/hgfs

保存 wq

设置运行权限

chmod a+x  share

设置开机自动挂载。

打开文件 vim/etc/fstab,增加配置。

.host:/           /media/           fuse.vmhgfs-fuse   allow_other

 reboot

//查看有木有挂载成工
$df

  

posted @ 2020-02-23 13:34  石门  阅读(231)  评论(0编辑  收藏  举报