unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Sharing host file systems with a VM
@ 2014-11-20 23:08 Ludovic Courtès
  2014-11-21  3:44 ` David Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-11-20 23:08 UTC (permalink / raw)
  To: Guix-devel

‘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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 23:08 Sharing host file systems with a VM Ludovic Courtès
2014-11-21  3:44 ` David Thompson

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).