Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I am pretty certain symlinks can't be created on the shared drive ("shared folder"). Even more impossible with a Windows host machine and a Linux guest.</p> <p>The <strong>host</strong> machines are not aware of the filesystem of the <strong>guests</strong>. A guest machine is a blackbox for the host. You can't say to the host <em>"Well this links to <code>/etc/...</code>"</em> when the host doesn't know where this <code>/etc</code> is :).</p> <p><strong>So in short: unfortunately no.</strong></p> <hr> <p><strong>In some more detail:</strong></p> <p>I would be really happy if I am wrong! It is a major pain in my development process.</p> <p>I tried so many options. By default the filesystem that the <em>"shared folders"</em> use is <code>vboxsf</code>, something if not the same as <code>samba</code> (default network sharing protocol for windows) so:</p> <ol> <li>I tried using <strong>native Windows network sharing</strong> and then mounting the network drive in the guest as the guest and host are on the same network. <strong>The problem was still there</strong>.</li> <li>I tried <strong>running a NFS server on windows</strong> (Hanewin NFS Server) along with SFU/SUA (Windows Services for UNIX) but this has problems with <strong>GIT locks</strong>. Probably other problems as well - it was a while ago and I don't clearly remember</li> <li>I tried the reverse: sharing a directory on the virtual machine to windows. But that is <strong>stupid as all the files will be on the virtual box</strong> and is <strong>reaally slow to access on windows</strong></li> <li>I was being stupid and I though "<em>well let's mount a virtual drive on both windows and linux"</em> - don't try this, corrupts the virtual disk. Something I should have known. </li> </ol> <p>There might be a network sharing protocol other than <code>samba</code> and <code>nfs</code> which will perhaps copy the files whenever "symlink" creation is attempted? I don't know really.</p> <p>However I haven't found one yet and also <em>"locking"</em> seems to to be a task of the file-system itself so I doubt any network protocol (unless having a dedicated registry of some sort for locks) can do this.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload