TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Whats the best way to access files on a Vagrant VM?

1 点作者 Dan42超过 2 年前
Developing code with a Vagrant VM, the repo is in the VM but I want to edit&#x2F;visualize the code via my editor in the Host. I could export the VM data via NFS and mount it in the Host. My editor can then access the files as if they were local. But I&#x27;m not sure how well hg&#x2F;TortoiseHG can work with a repo on a NFS mount. What other options do I have? Mutagen.io?<p>I seem to remember not so long ago something was posted on HN about a new tool&#x2F;filesystem built for this scenario. IIRC it was taking advantage of the fact that the VM and Host are on the same disk to get better performance than NFS. But I just can&#x27;t find that article again.<p>I know that the standard way is to have the repo in the Host, mounted in the VM via VirtualBox shared folder, but that has its own set of problems. The app running in the VM becomes very slow if it needs to access too many files via shared folder. https:&#x2F;&#x2F;www.jeffgeerling.com&#x2F;blogs&#x2F;jeff-geerling&#x2F;vagrant-nfs-shared-folders

1 comment

Dan42超过 2 年前
I think I found what I was looking for: <a href="https:&#x2F;&#x2F;virtio-fs.gitlab.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;virtio-fs.gitlab.io&#x2F;</a>