mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
file-systems: Add %elogind-file-systems; add it to %base-file-systems.
* gnu/system/file-systems.scm (%elogind-file-systems): New variable. (%base-file-systems): Add %elogind-file-systems.
This commit is contained in:
parent
3f208ad758
commit
14454f0bc5
1 changed files with 22 additions and 0 deletions
|
@ -50,6 +50,7 @@ (define-module (gnu system file-systems)
|
|||
%devtmpfs-file-system
|
||||
%immutable-store
|
||||
%control-groups
|
||||
%elogind-file-systems
|
||||
|
||||
%base-file-systems
|
||||
%container-file-systems
|
||||
|
@ -258,6 +259,26 @@ (define %control-groups
|
|||
'("cpuset" "cpu" "cpuacct" "memory" "devices" "freezer"
|
||||
"blkio" "perf_event" "hugetlb")))))
|
||||
|
||||
(define %elogind-file-systems
|
||||
;; We don't use systemd, but these file systems are needed for elogind,
|
||||
;; which was extracted from systemd.
|
||||
(list (file-system
|
||||
(device "none")
|
||||
(mount-point "/run/systemd")
|
||||
(type "tmpfs")
|
||||
(check? #f)
|
||||
(flags '(no-suid no-dev no-exec))
|
||||
(options "mode=0755")
|
||||
(create-mount-point? #t))
|
||||
(file-system
|
||||
(device "none")
|
||||
(mount-point "/run/user")
|
||||
(type "tmpfs")
|
||||
(check? #f)
|
||||
(flags '(no-suid no-dev no-exec))
|
||||
(options "mode=0755")
|
||||
(create-mount-point? #t))))
|
||||
|
||||
(define %base-file-systems
|
||||
;; List of basic file systems to be mounted. Note that /proc and /sys are
|
||||
;; currently mounted by the initrd.
|
||||
|
@ -265,6 +286,7 @@ (define %base-file-systems
|
|||
%pseudo-terminal-file-system
|
||||
%shared-memory-file-system
|
||||
%immutable-store)
|
||||
%elogind-file-systems
|
||||
%control-groups))
|
||||
|
||||
;; File systems for Linux containers differ from %base-file-systems in that
|
||||
|
|
Loading…
Reference in a new issue