* mounting a directory in a system container
@ 2020-09-03 11:35 Efraim Flashner
2020-09-03 11:44 ` Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Efraim Flashner @ 2020-09-03 11:35 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 865 bytes --]
I really like the --expose and --share options from guix system vm but I
really would prefer to use a system container (mostly for the shared
resources). I tried adding the directory in the file-systems section of
my OS-config but it just failed to mount. Any suggestions?
(file-systems (cons
(file-system
(device "/data")
(mount-point "/data")
(type "none")
(flags '(read-only bind-mount))
(check? #f)
(create-mount-point? #t))
%base-file-systems)
I also added (service udev-service-type) to my services.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-03 11:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-03 11:35 mounting a directory in a system container Efraim Flashner
2020-09-03 11:44 ` Efraim Flashner
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).