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 @@
|
||||||
%devtmpfs-file-system
|
%devtmpfs-file-system
|
||||||
%immutable-store
|
%immutable-store
|
||||||
%control-groups
|
%control-groups
|
||||||
|
%elogind-file-systems
|
||||||
|
|
||||||
%base-file-systems
|
%base-file-systems
|
||||||
%container-file-systems
|
%container-file-systems
|
||||||
|
@ -258,6 +259,26 @@ UUID representation."
|
||||||
'("cpuset" "cpu" "cpuacct" "memory" "devices" "freezer"
|
'("cpuset" "cpu" "cpuacct" "memory" "devices" "freezer"
|
||||||
"blkio" "perf_event" "hugetlb")))))
|
"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
|
(define %base-file-systems
|
||||||
;; List of basic file systems to be mounted. Note that /proc and /sys are
|
;; List of basic file systems to be mounted. Note that /proc and /sys are
|
||||||
;; currently mounted by the initrd.
|
;; currently mounted by the initrd.
|
||||||
|
@ -265,6 +286,7 @@ UUID representation."
|
||||||
%pseudo-terminal-file-system
|
%pseudo-terminal-file-system
|
||||||
%shared-memory-file-system
|
%shared-memory-file-system
|
||||||
%immutable-store)
|
%immutable-store)
|
||||||
|
%elogind-file-systems
|
||||||
%control-groups))
|
%control-groups))
|
||||||
|
|
||||||
;; File systems for Linux containers differ from %base-file-systems in that
|
;; File systems for Linux containers differ from %base-file-systems in that
|
||||||
|
|
Reference in a new issue