Use autofs to automatically load VirtualBox data space in Ubuntu

Source: Internet
Author: User
The host is Windows 7 and the virtual machine is Ubuntu11.10. First, set the data space name in VirtualBox to vbs. $ Sudoapt-getinstallautofs at/etc/auto. add/mediafile:/etc/auto to the master. vbox -- timeout = 30 -- ghost in/etc/auto. vbox-fstype =

The host is Windows 7 and the virtual machine is Ubuntu 11.10. First, set the data space name in Virtual Box to vbs.

$ Sudo apt-get install autofs

Add/etc/auto. master

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

Write Data in/etc/auto. vbox

Vbox-fstype = vboxsf, rw vbs

Restart autofs.

$ Sudo service autofs restart

You can access the data space in/media/vbox.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.