Symlinks to Shared Folders from Host System
Posted: 20. Nov 2013, 08:14
I use virtual hosts on my Apache servers to test websites on my local system. I would like to work on them on my Linux (& other) VM's as well, but to differentiate them I would like to call them by different names (repos, fedora_www, mac_sites, etc). Instead of replicating the repos folder several times & wasting hundreds of MB's of space I would rather hard link to the folders I will use as the shared folders (link will be shared folder, target will be some folder somewhere else on the computer). However, after some experimenting I learned that using mklink on my Windows host, when I share the folder I can not mount it, with junction points or symbolic links. It fails with the error "Protocol error". Is there a way to use mklink or some other symlinking or hardlinking?
tl;dr: Is there a way to use mklink or something else on Windows (or any system) to create a folder through symlinking that can be used as a shared folder? The link will be the shared folder, target will be somewhere else on the host.
tl;dr: Is there a way to use mklink or something else on Windows (or any system) to create a folder through symlinking that can be used as a shared folder? The link will be the shared folder, target will be somewhere else on the host.