diff options
| -rw-r--r-- | gnu/system/file-systems.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index d93044ce046..d0726d2b614 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm | |||
| @@ -232,7 +232,18 @@ initrd code." | |||
| 232 | (check? #f) | 232 | (check? #f) |
| 233 | (flags '(no-suid no-dev no-exec)) | 233 | (flags '(no-suid no-dev no-exec)) |
| 234 | (options "mode=0755") | 234 | (options "mode=0755") |
| 235 | (create-mount-point? #t)))) | 235 | (create-mount-point? #t)) |
| 236 | ;; Elogind uses cgroups to organize processes, allowing it to map PIDs | ||
| 237 | ;; to sessions. Elogind's cgroup hierarchy isn't associated with any | ||
| 238 | ;; resource controller ("subsystem"). | ||
| 239 | (file-system | ||
| 240 | (device "cgroup") | ||
| 241 | (mount-point "/sys/fs/cgroup/elogind") | ||
| 242 | (type "cgroup") | ||
| 243 | (check? #f) | ||
| 244 | (options "none,name=elogind") | ||
| 245 | (create-mount-point? #t) | ||
| 246 | (dependencies (list (car %control-groups)))))) | ||
| 236 | 247 | ||
| 237 | (define %base-file-systems | 248 | (define %base-file-systems |
| 238 | ;; List of basic file systems to be mounted. Note that /proc and /sys are | 249 | ;; List of basic file systems to be mounted. Note that /proc and /sys are |
