Problem:Â VMWare Fusion allows you to set up shared folders for a VM in its preferences. Once you have it enabled, where is the mount?
Context: VMWare Fusion 5, Bitnamit Magento Image, Ubunto
Mounting Shared Folders in a Linux Guest
After you have enabled 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.
Use theÂ mountÂ command to mount all shares, one share, or a subdirectory within a share to any location in the file system.
Mount Command Syntax
|mount -t vmhgfs .host:/ /home/user1/shares
|Mounts all shares to
|mount -t vmhgfs .host:/foo /tmp/foo
|Mounts the share namedÂ
fooÂ toÂ /tmp/foo
|mount -t vmhgfs .host:/foo/bar /var/lib/bar
|Mounts the subdirectoryÂ barÂ
within the shareÂ fooÂ toÂ /var/lib/bar
You can use VMware-specific options in addition to the standardÂ mountÂ syntax. For usage information for the host-guest file system options, type the commandÂ /sbin/mount.vmhgfs -h.
When you install VMware Tools, an entry is made toÂ etc/fstabÂ to specify the location of shared folders. You can edit this file to change or add entries. For example, to auto-mount at startup, editÂ /etc/fstabÂ and add the lineÂ .host :/ /mnt/hgfs vmhgfs defaults 0 0.
The VMware Tools services script loads a driver that performs the mount. If the mount fails, a message appears regarding mounting HGFS shares.
The mount can fail if shared folders are disabled or if the share does not exist. You are not prompted to run the VMware ToolsÂ vmware-config-tools.plÂ configuration program again.