svn commit: r52917 - head/en_US.ISO8859-1/books/handbook/virtualization

Benedict Reuschling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: bcr
Date: Thu Apr 11 20:20:32 2019
New Revision: 52917
URL: https://svnweb.freebsd.org/changeset/doc/52917

Log:
  Add a description on how to mount VirtualBox shared folders.
  
  Thanks to Gleb Popov who wrote the original patch and started the review.
  
  Submitted by:		    arrowd@
  Modified and expanded by:   me
  Differential Revision:	    https://reviews.freebsd.org/D19873

Modified:
  head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml	Wed Apr 10 02:10:45 2019	(r52916)
+++ head/en_US.ISO8859-1/books/handbook/virtualization/chapter.xml	Thu Apr 11 20:20:32 2019	(r52917)
@@ -820,6 +820,23 @@ EndSection</programlisting>
     &lt;/match&gt;
   &lt;/device&gt;
 &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">
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.