vagrant/plugins/synced_folders/rsync
Lonnie VanZandt b897fd7365 Scrub Guest Paths for Windows Rsync leaving Dirty Paths for Winrm Mkdir
Windows offers no out-of-the-box rsync utility. By far, the most
commonly used external utilities for Windows rsync are built with the
GNU Cygwin libraries. The cost for this convenience is that rsync on
Windows has to be provided paths that begin “/cygdrive/c” rather than
“c:/“ like other Windows-API utilities. Compounding the situation,
rsync doesn’t create paths/to/sub/targets and so the vagrant plugin
code, when performing an rsync, is responsible for creating
intermediate directories in guest paths if there are any. Furthermore,
the mkdir utility in Windows is not another Cygwin utility like rsync
but the routine mkdir of Windows command.com. Therefore, while rsync
needs the /cygwin paths, mkdir uses the Windows paths. Later, the
chef_solo.rp provisioner running within the guest will expect to find
Windows-style paths in its solo.rb configuration file. Due to all this,
vagrant has to keep track of both the original, possibly dirty Windows
guest path and the cygwin-scrubbed guest path.
2015-08-18 10:56:13 -06:00
..
command update to latest listen 2015-07-09 11:18:36 -06:00
helper.rb Scrub Guest Paths for Windows Rsync leaving Dirty Paths for Winrm Mkdir 2015-08-18 10:56:13 -06:00
plugin.rb synced_folders/rsync: rsync-auto command 2014-01-13 21:43:31 -08:00
synced_folder.rb synced_folders/rsync: Install `rsync` on guest if needed 2014-01-31 02:12:57 -03:00