/mnt/hgfs/下不显示共享文件夹的处理办法

root用户下执行:

[super@redhat7 hgfs]$ vmware-hgfsclient
gongxiang
查看共享文件夹 
[root@redhat7 hgfs]# vmhgfs-fuse .host:/ /mnt/hgfs/
[root@redhat7 hgfs]# df -h
文件系统               容量  已用  可用 已用% 挂载点
/dev/mapper/rhel-root   20G  3.9G   17G   20% /
devtmpfs               897M     0  897M    0% /dev
tmpfs                  912M   88K  912M    1% /dev/shm
tmpfs                  912M  9.0M  903M    1% /run
tmpfs                  912M     0  912M    0% /sys/fs/cgroup
/dev/sr1               3.6G  3.6G     0  100% /mnt/cdrom
/dev/mapper/rhel-data   22G  112M   22G    1% /data
/dev/mapper/rhel-home  5.0G   37M  5.0G    1% /home
/dev/sda1             1014M  174M  841M   18% /boot
tmpfs                  183M   16K  183M    1% /run/user/0
tmpfs                  183M     0  183M    0% /run/user/1000
vmhgfs-fuse            175G  112G   64G   64% /mnt/hgfs

注意点

不管你的共享文件夹名字是什么,直接复制上句就可以了,非常完美!以前还有个方法,很简单。比这个还要简单,怎么想都想不起来!笔记还是很重要的;
用root执行;
每次开机需要重新执行上述命令

猜你喜欢

转载自www.cnblogs.com/dahaoran/p/12674421.html