guix-devel
[Top][All Lists]
Advanced

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

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


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

Hartmut,

Hartmut Goebel wrote on 29/10/17 at 18:18:
> immediately after booting the installation image (build according to [1]
> and run according to [2]), the "mount" command spits out *two* unionfs
> mounted points:
[...]
> 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.

Running the same ‘mount’ command on my GuixSD returns a hint:

  address@hidden ~$ mount
  /dev/mapper/root on / type ext4 (rw,relatime,data=ordered)
  /dev/mapper/root on /gnu/store type ext4 (ro,relatime,data=ordered)

> - 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 think this is all that's going on, and it's merely the output of
‘mount’ that's confusing you: the ‘ro’ bind mount ‘inherits’ the file
system type of the parent. In my example above, it's ext4. In yours,
it's fuse.unionfs.

Unless I'm missing something.

Kind regards,

T G-R



reply via email to

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