主机为Windows 7,虚拟机为Ubuntu 11.10。首先在Virtual Box中设置数据空间名为 vbs 。

$sudo apt-get install autofs

在 /etc/auto.master 中加入

/media file:/etc/auto.vbox --timeout=30 --ghost

在 /etc/auto.vbox 中写入

vbox -fstype=vboxsf,rw vbs

 

之后重启autofs

$sudo service autofs restart

即可在 /media/vbox 中访问数据空间。

相关文章:

  • 2021-11-05
  • 2022-02-03
  • 2021-10-18
  • 2022-12-23
  • 2021-10-06
  • 2021-11-28
猜你喜欢
  • 2021-09-26
  • 2021-11-21
  • 2021-05-17
  • 2021-06-28
  • 2021-06-01
  • 2021-06-04
  • 2021-05-21
相关资源
相似解决方案