]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Tools Hgfs Plugin: refresh Hgfs drives on client start
authorOliver Kurth <okurth@vmware.com>
Fri, 29 Sep 2017 19:52:44 +0000 (12:52 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 29 Sep 2017 19:52:44 +0000 (12:52 -0700)
commit751e6b2813c4aec752dc1e14f120d2d34191b2d4
tree0c45cfd3fd7f05be90842b6c76b77fec6cb731fe
parent8410d26cb69f48ad8de43704ca2bf0e020fc1b93
Tools Hgfs Plugin: refresh Hgfs drives on client start

In order to get Explorer to see that VMware Shared Folders drives are
available when the feature is enabled, we touch each drive that is
mapped as a VMware Shared Folder.  This is to prevent users being
confused when the have the feature enabled but Explorer creates the
user's drive mappings before the tools service has initialized the
Hgfs plugin and started the Hgfs client.  In this situation the drives
were marked as red (disconnected) until the user clicks on the mapped
drive.  Then Explorer will refresh the connction and set it to green
(connected).
open-vm-tools/services/plugins/hgfsServer/hgfsPlugin.c