From owner-svn-doc-head@freebsd.org Thu Apr 11 20:20:33 2019 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 233F41569155; Thu, 11 Apr 2019 20:20:33 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDC3E74B64; Thu, 11 Apr 2019 20:20:32 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 99094F2F8; Thu, 11 Apr 2019 20:20:32 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3BKKWkQ002268; Thu, 11 Apr 2019 20:20:32 GMT (envelope-from bcr@FreeBSD.org) Received: (from bcr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3BKKWj3002267; Thu, 11 Apr 2019 20:20:32 GMT (envelope-from bcr@FreeBSD.org) Message-Id: <201904112020.x3BKKWj3002267@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bcr set sender to bcr@FreeBSD.org using -f From: Benedict Reuschling Date: Thu, 11 Apr 2019 20:20:32 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r52917 - head/en_US.ISO8859-1/books/handbook/virtualization X-SVN-Group: doc-head X-SVN-Commit-Author: bcr X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/handbook/virtualization X-SVN-Commit-Revision: 52917 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BDC3E74B64 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2019 20:20:33 -0000 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 </match> </device> </deviceinfo> + + Shared folders for file transfers between host and VM are + accessible by mounting them using + mount_vboxfs. A shared folder can be created + on the host using the VirtualBox GUI or via + vboxmanage. For example, to create a shared + folder called myshare under + /mnt/bsdboxshare + for the VM named BSDBox, run: + + &prompt.root; vboxmanage sharedfolder add 'BSDBox' --name myshare --hostpath /mnt/bsdboxshare + + Note that the shared folder name must not contain spaces. + Mount the shared folder from within the guest system like + this: + + &prompt.root; mount_vboxfs -w myshare /mnt