file-systems: Add %debug-file-system.

* gnu/system/file-systems.scm (%debug-file-system): New variable,
(%base-file-systems): add it.
This commit is contained in:
Mathieu Othacehe 2020-07-31 12:58:16 +02:00
parent c55acb0732
commit 6bb07e91e1
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -68,6 +68,7 @@ (define-module (gnu system file-systems)
%pseudo-file-system-types
%fuse-control-file-system
%binary-format-file-system
%debug-file-system
%shared-memory-file-system
%pseudo-terminal-file-system
%tty-gid
@ -368,6 +369,14 @@ (define %binary-format-file-system
(type "binfmt_misc")
(check? #f)))
(define %debug-file-system
(file-system
(type "debugfs")
(device "none")
(mount-point "/sys/kernel/debug")
(check? #f)
(create-mount-point? #t)))
(define %tty-gid
;; ID of the 'tty' group. Allocate it statically to make it easy to refer
;; to it from here and from the 'tty' group definitions.
@ -467,6 +476,7 @@ (define %base-file-systems
;; List of basic file systems to be mounted. Note that /proc and /sys are
;; currently mounted by the initrd.
(list %pseudo-terminal-file-system
%debug-file-system
%shared-memory-file-system
%immutable-store))