I have my code on a host and I want it to be run on a Debian virtual machine (that is hosted on that same host).
So I use VmWare's sharing folder to share my code in the virtual machine. But my program is slower than when the code is actually on the VM's harddisk. (probably because of the different filesystem (hgfs vs ext4)
I see two possible solutions :
Sync the shared folder to another folder on the VM. So there would no network access. But I don't know which tool I should use. Probably something like a constant one-way rsync, that would also delete the files.
Use some kind of "link" like a symbolic link or physical link that would replicate the folder, but I don't know if something like this exists.
How would you do that ?
(Of course, if I have the code on the virtual machine and share it with Samba, the problem is the same and it is slower to access to the files with my IDE)