diff options
author | Richard Sent <richard@freakingpenguin.com> | 2024-06-01 19:26:16 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-06-04 12:08:34 +0200 |
commit | 579df5bc80fbedc59dc1b99751dcc49deab8f488 (patch) | |
tree | 8ecbb40363e4e134c8d23648b90820806658e879 /tests/home-services.scm | |
parent | 5d3edff1a604414a3c42b89fcbc007e9d573993d (diff) | |
download | guix-579df5bc80fbedc59dc1b99751dcc49deab8f488.tar guix-579df5bc80fbedc59dc1b99751dcc49deab8f488.tar.gz |
services: base: Add optional delayed mount of file-systems
Add a mechanism to only require mounting a subset of file-system entries
during early Shepherd initialization. Any file-system with additional Shepherd
service requirements (e.g. networking) is not required to provision
'file-systems.
* gnu/services/base.scm (file-system-shepherd-service): Splice
file-system-requirements into the Shepherd service requirement list.
(file-system-shepherd-services): Provision 'file-system only when file system
services without additional Shepherd requirements are started.
* gnu/system/file-systems.scm (file-system): Add shepherd-requirements field
to the file-system record. This field is used for adding additional Shepherd
requirements to a file-system Shepherd service.
* doc/guix.texi: Add documentation for file-system shepherd-requirements.
Change-Id: If0392db03d48e8820aa53df1df482c12ec72e1a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/home-services.scm')
0 files changed, 0 insertions, 0 deletions