help-guix
[Top][All Lists]
Advanced

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

Re: How to declare a bind mount in the "file-systems" definition?


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

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?



reply via email to

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