diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-12-22 00:25:40 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-12-22 00:29:21 +0100 |
commit | be21979d85304fedd5c0fb970ffc337d220eda7a (patch) | |
tree | 412dd53a12dbd483a95e541c86e2eec6881e9f3d /doc/guix.texi | |
parent | e43e84ba7a566abf3f6d552e494b34b483820a5b (diff) | |
download | guix-be21979d85304fedd5c0fb970ffc337d220eda7a.tar guix-be21979d85304fedd5c0fb970ffc337d220eda7a.tar.gz |
file-systems: Add a 'mount?' field.
Fixes <http://bugs.gnu.org/22176>.
Reported by Florian Paul Schmidt <mista.tapas@gmx.net>.
* gnu/system/file-systems.scm (<file-system>)[mount?]: New field.
(file-system->spec): Adjust accordingly.
* gnu/services/base.scm (file-system-dmd-service): Return the empty list
when FILE-SYSTEM has 'mount?' set to false.
(user-processes-service): Select the subset of FILE-SYSTEMS that matches
'file-system-mount?'.
* doc/guix.texi (File Systems): Document it.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index a70fbe86ed..7665ec9610 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5936,6 +5936,12 @@ bits), and @code{no-exec} (disallow program execution.) @item @code{options} (default: @code{#f}) This is either @code{#f}, or a string denoting mount options. +@item @code{mount?} (default: @code{#t}) +This value indicates whether to automatically mount the file system when +the system is brought up. When set to @code{#f}, the file system gets +an entry in @file{/etc/fstab} (read by the @command{mount} command) but +is not automatically mounted. + @item @code{needed-for-boot?} (default: @code{#f}) This Boolean value indicates whether the file system is needed when booting. If that is true, then the file system is mounted when the |