From: ludo@gnu.org (Ludovic Courtès)
To: Guix-devel <guix-devel@gnu.org>
Subject: Sharing host file systems with a VM
Date: Fri, 21 Nov 2014 00:08:20 +0100 [thread overview]
Message-ID: <87a93lv5az.fsf@gnu.org> (raw)
‘guix system vm’ can now be told to share more file systems with the
host, in addition to /gnu/store:
Additional file systems can be shared between the host and the VM
using the ‘--share’ and ‘--expose’ command-line options: the former
specifies a directory to be shared with write access, while the
latter provides read-only access to the shared directory.
The example below creates a VM in which the user’s home directory
is accessible read-only, and where the ‘/exchange’ directory is a
read-write mapping of the host’s ‘$HOME/tmp’:
guix system vm my-config.scm \
--expose=$HOME --share=$HOME/tmp=/exchange
Thanks David for giving me an incentive to work on this. ;-)
Ludo’.
next reply other threads:[~2014-11-20 23:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 23:08 Ludovic Courtès [this message]
2014-11-21 3:44 ` Sharing host file systems with a VM David Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a93lv5az.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).