mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 13:48:36 +02:00
reworking glicid cgroups
This commit is contained in:
parent
121e8e9e7a
commit
c0e766b881
1 changed files with 19 additions and 0 deletions
|
@ -5,6 +5,24 @@
|
|||
|
||||
(define %cgroups
|
||||
(append (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)
|
||||
)
|
||||
(file-system
|
||||
(device "cgroup")
|
||||
(mount-point "/sys/fs/cgroup/hugetlb")
|
||||
|
@ -41,5 +59,6 @@
|
|||
(create-mount-point? #t)
|
||||
(dependencies (list (car %control-groups)))
|
||||
)
|
||||
%control-groups
|
||||
))
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue