unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Matthew Brooks <matthewfbrooks@mailbox.org>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: How to declare a bind mount in the "file-systems" definition?
Date: Thu, 19 Mar 2020 21:41:55 -0400	[thread overview]
Message-ID: <20200320014155.GA30652@jasmine.lan> (raw)
In-Reply-To: <20200319193123.40d51798@mailbox.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?

  reply	other threads:[~2020-03-20  1:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20  0:31 How to declare a bind mount in the "file-systems" definition? Matthew Brooks
2020-03-20  1:41 ` Leo Famulari [this message]
2020-03-21  4:14   ` Matthew Brooks
2020-03-22 22:12     ` Leo Famulari
2020-03-26 15:10       ` Matthew Brooks
2020-03-29  9:36         ` Gábor Boskovits
2020-03-29 20:01           ` Matthew Brooks
2020-04-08 16:52             ` Leo Famulari
2020-04-22 17:03               ` Matthew Brooks
2020-04-22 19:52                 ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200320014155.GA30652@jasmine.lan \
    --to=leo@famulari.name \
    --cc=help-guix@gnu.org \
    --cc=matthewfbrooks@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).