2022-05-14 19:10:12 +02:00
|
|
|
(define-module (glicid system file-systems)
|
|
|
|
#:use-module (gnu system file-systems)
|
2022-11-21 16:40:36 +01:00
|
|
|
#:export (%cgroups)
|
2022-05-14 19:10:12 +02:00
|
|
|
)
|
|
|
|
|
2022-11-21 16:36:14 +01:00
|
|
|
(define %cgroups
|
2022-11-22 15:15:43 +01:00
|
|
|
(append (list
|
|
|
|
(file-system
|
2022-05-14 19:10:12 +02:00
|
|
|
(device "cgroup")
|
2022-11-22 15:15:43 +01:00
|
|
|
(mount-point "/sys/fs/cgroup/hugetlb")
|
|
|
|
(type "cgroup")
|
2022-05-14 19:10:12 +02:00
|
|
|
(check? #f)
|
2022-11-22 15:15:43 +01:00
|
|
|
(options "hugetlb")
|
|
|
|
(create-mount-point? #t)
|
|
|
|
(dependencies (list (car %control-groups)))
|
2022-05-14 19:10:12 +02:00
|
|
|
)
|
2022-11-22 15:15:43 +01:00
|
|
|
(file-system
|
|
|
|
(device "cgroup")
|
|
|
|
(mount-point "/sys/fs/cgroup/net_cls")
|
|
|
|
(type "cgroup")
|
|
|
|
(check? #f)
|
|
|
|
(options "net_cls")
|
|
|
|
(create-mount-point? #t)
|
|
|
|
(dependencies (list (car %control-groups)))
|
|
|
|
)
|
|
|
|
(file-system
|
|
|
|
(device "cgroup")
|
|
|
|
(mount-point "/sys/fs/cgroup/net_prio")
|
|
|
|
(type "cgroup")
|
|
|
|
(check? #f)
|
|
|
|
(options "net_prio")
|
|
|
|
(create-mount-point? #t)
|
|
|
|
(dependencies (list (car %control-groups)))
|
|
|
|
)
|
|
|
|
(file-system
|
|
|
|
(device "cgroup")
|
|
|
|
(mount-point "/sys/fs/cgroup/systemd")
|
|
|
|
(type "cgroup")
|
|
|
|
(check? #f)
|
|
|
|
(options "none,name=systemd")
|
|
|
|
(create-mount-point? #t)
|
|
|
|
(dependencies (list (car %control-groups)))
|
|
|
|
)
|
|
|
|
))
|
2022-05-14 19:10:12 +02:00
|
|
|
)
|