all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Curious unionfs-ro-mount for /gnu/store in installation-image
@ 2017-10-29 17:18 Hartmut Goebel
  2017-10-29 17:30 ` Tobias Geerinckx-Rice
  2017-10-31  1:56 ` Chris Marusich
  0 siblings, 2 replies; 4+ messages in thread
From: Hartmut Goebel @ 2017-10-29 17:18 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1654 bytes --]

Hello,

immediately after booting the installation image (build according to [1]
and run according to [2]), the "mount" command spits out *two* unionfs
mounted points:

root@gnu ~# mount
unionfs on / type fuse.unionfs (rw,…)
unionfs on /gnu/store type fuse.unionfs (ro,…)

The first one ("/") is easy to explain: It is created by
gnu/build/linux-boot.scm (mount-root-file-system) if #:volatile-root is
true.

But I'm curious, where the second one comes from. I've been searching
this for two or three hours now and did not find, where this is defined.

- unionfs is used twice only in the whole code:
    1) In gnu/build/linux-boot.scm (mount-root-files-ystem) to make a
unionfs root – this is our first case
    2) in gnu/system/install.scm (make-cow-store) – which is not started
yet.

- gnu/system/install.scm defines the system to be put into the
installation image. Thuns I thought it may be a file-system defined in
install.scm. But related to the store there is only %immutable-store,
which does not use unionfs a ro-bind-mount, not a unionfs.

- I tried to find some hint in the disk-image, but did not. I found
"shepherd-file-system--gnu-store.scm", which implements %immutable-store".

Any ideas where this second unionfs-mount comes from?

[1]
https://www.gnu.org/software/guix/manual/guix.html#Building-the-Installation-Image
[2]
https://www.gnu.org/software/guix/manual/guix.html#Installing-GuixSD-in-a-VM

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

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

end of thread, other threads:[~2017-10-31  1:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29 17:18 Curious unionfs-ro-mount for /gnu/store in installation-image Hartmut Goebel
2017-10-29 17:30 ` Tobias Geerinckx-Rice
2017-10-29 17:45   ` Hartmut Goebel
2017-10-31  1:56 ` Chris Marusich

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.