How does the linux in the vmware virtual machine map to the directory of the windows host?

how does the linux in the vmware virtual machine map to the windows host?

Host: windows 10
client: fedora 29 server
vmware:vmware workstation 15

has done directory sharing with the following steps:

1. Install open-vm-tools

in fedora
[root@fedora ~]-sharp yum install open-vm-tools open-vm-tools-desktop

2. Set the windows shared directory in vmware

d:/workspace/www

3. Mount the shared directory with vmtools in fedora

[root@fedora ~]-sharp vmware-hgfsclient  //
www
[root@fedora ~]-sharp vmhgfs-fuse .host:/ /mnt/hgfs  //vmhgfs-fuse
[root@fedora ~]-sharp ls /mnt/hgfs/
www
[root@fedora ~]-sharp ls /mnt/hgfs/www
project01  project02

the settings above make d:/workspace/www = / mnt/hgfs/www ;

question:
if you want to map d:/workspace/www on windows and / var/www on linux, that is, how should you set up d:/workspace/www = / var/www ?

Aug.24,2021

ln -s /mnt/hgfs/www /var/www 
Menu