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
1 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,7 @@
%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 @@ TARGET in the other 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 @@ TARGET in the other system."
;; 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))