[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Curious unionfs-ro-mount for /gnu/store in installation-image

From: Hartmut Goebel
Subject: Curious unionfs-ro-mount for /gnu/store in installation-image
Date: Sun, 29 Oct 2017 18:18:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0


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

address@hidden ~# 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

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

- 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?


Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| | compilers which you thought are impossible |

Attachment: 0xBF773B65.asc
Description: application/pgp-keys

reply via email to

[Prev in Thread] Current Thread [Next in Thread]