From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8rNF-0006VE-Ne for guix-devel@gnu.org; Sun, 29 Oct 2017 13:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8rNE-0006GS-PV for guix-devel@gnu.org; Sun, 29 Oct 2017 13:27:49 -0400 Received: from tobias.gr ([2001:470:cc92::1]:51280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8rNE-0006G2-Er for guix-devel@gnu.org; Sun, 29 Oct 2017 13:27:48 -0400 In-Reply-To: Content-Language: en-GB List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: h.goebel@crazy-compilers.com, guix-devel@gnu.org 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: nckx@apollo.tobias.gr ~$ 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