After you enable a shared folder, you can mount one or more directories or subdirectories in the shared folder to any location in the file system in addition to the default location of/mnt/hgfs.
Depending on the kernel version of the Linux guest operating system, VMware Tools uses different components to provide shared-folder functionality. In Linux kernels prior to version 4.0, the VMware Tools services script loads a driver that performs the mount. Linux kernels 4.0 and later use a FUSE file system component.
You can use different mount commands to mount all shares, one share, or a subdirectory within a share to any location in the file system. The commands also vary depending on the Linux-kernel version of the guest.
Mount Command SyntaxLinux Kernel Prior to 4.0Linux Kernel 4.0 and LaterDescription
Mounts the subdirectorybarwithin the sharefooto/var/lib/bar
For Linux kernel prior to version 4.0, you can use VMware-specific options in addition to the standardmountsyntax. Enter the command/sbin/mount.vmhgfs -hto list the options.
For Linux kernel version 4.0 or later, enter the command/usr/bin/vmhgfs-fuse -hto list the available options.