Page MenuHomeFreeBSD

D19873.diff
No OneTemporary

D19873.diff

Index: head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml
+++ head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml
@@ -820,6 +820,23 @@
</match>
</device>
&lt;/deviceinfo&gt;</programlisting>
+
+ <para>Shared folders for file transfers between host and VM are
+ accessible by mounting them using
+ <literal>mount_vboxfs</literal>. A shared folder can be created
+ on the host using the VirtualBox GUI or via
+ <command>vboxmanage</command>. For example, to create a shared
+ folder called <replaceable>myshare</replaceable> under
+ <filename><replaceable>/mnt/bsdboxshare</replaceable></filename>
+ for the VM named <replaceable>BSDBox</replaceable>, run:</para>
+
+ <screen>&prompt.root; <userinput>vboxmanage sharedfolder add '<replaceable>BSDBox</replaceable>' --name <replaceable>myshare</replaceable> --hostpath <replaceable>/mnt/bsdboxshare</replaceable></userinput></screen>
+
+ <para>Note that the shared folder name must not contain spaces.
+ Mount the shared folder from within the guest system like
+ this:</para>
+
+ <screen>&prompt.root; <userinput>mount_vboxfs -w <replaceable>myshare</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
</sect1>
<sect1 xml:id="virtualization-host-virtualbox">

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 24, 3:30 AM (14 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24116494
Default Alt Text
D19873.diff (1 KB)

Event Timeline