all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to declare a bind mount in the "file-systems" definition?
@ 2020-03-20  0:31 Matthew Brooks
  2020-03-20  1:41 ` Leo Famulari
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Brooks @ 2020-03-20  0:31 UTC (permalink / raw)
  To: help-guix@gnu.org

My boot disk is an SSD, and to save some wear I'd like to bind mount a folder on one of my spinning disk drives to /tmp.

The online manual does mention that bind-mount exists, but doesn't actually seem to have any examples of defining a bind mount.
For reference, I'm trying to automatically bind mount "/spinning-disk-drive-goes-here/tmp" to "/tmp".

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?

Anyway, thanks for your help, and for all the work put into guixSD!

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-22 19:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.