mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: system: Add elogind cgroup mount.
* gnu/system/file-systems.scm (%elogind-file-systems): Add elogind cgroup mount.
This commit is contained in:
parent
0e2f2aebed
commit
a7e50a2a03
1 changed files with 12 additions and 1 deletions
|
@ -232,7 +232,18 @@ (define %elogind-file-systems
|
|||
(check? #f)
|
||||
(flags '(no-suid no-dev no-exec))
|
||||
(options "mode=0755")
|
||||
(create-mount-point? #t))))
|
||||
(create-mount-point? #t))
|
||||
;; Elogind uses cgroups to organize processes, allowing it to map PIDs
|
||||
;; to sessions. Elogind's cgroup hierarchy isn't associated with any
|
||||
;; resource controller ("subsystem").
|
||||
(file-system
|
||||
(device "cgroup")
|
||||
(mount-point "/sys/fs/cgroup/elogind")
|
||||
(type "cgroup")
|
||||
(check? #f)
|
||||
(options "none,name=elogind")
|
||||
(create-mount-point? #t)
|
||||
(dependencies (list (car %control-groups))))))
|
||||
|
||||
(define %base-file-systems
|
||||
;; List of basic file systems to be mounted. Note that /proc and /sys are
|
||||
|
|
Loading…
Reference in a new issue