From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: How to declare a bind mount in the "file-systems" definition? Date: Thu, 19 Mar 2020 21:41:55 -0400 Message-ID: <20200320014155.GA30652@jasmine.lan> References: <20200319193123.40d51798@mailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35502) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF6ff-0007EE-OF for help-guix@gnu.org; Thu, 19 Mar 2020 21:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jF6fe-0001Gt-E9 for help-guix@gnu.org; Thu, 19 Mar 2020 21:41:59 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52501) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jF6fe-0001GX-86 for help-guix@gnu.org; Thu, 19 Mar 2020 21:41:58 -0400 Content-Disposition: inline In-Reply-To: <20200319193123.40d51798@mailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Matthew Brooks Cc: "help-guix@gnu.org" On Thu, Mar 19, 2020 at 07:31:23PM -0500, Matthew Brooks wrote: > The online manual does mention that bind-mount exists, but doesn't actually seem to have any examples of defining a bind mount. You would add (flags '(bind-mount)) to the Scheme definition of file-system. > The manual also doesn't give any examples of defining a dependency so that the base drive gets mounted and then the bind mount will only be mounted after. Do I define the "spinning-disk-drive-goes-here" file system inside the dependency block and not in the main list of file systems, or do I define it in the usual place and then add some unique ID to the dependency block, or something else? There's an example in this discussion: https://lists.gnu.org/archive/html/help-guix/2016-11/msg00062.html Make sure to read the reply from Ludovic which completes the picture. Does that help?