From 6bb07e91e1ab9367f636a3a5e9d52a9e0772aa89 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Fri, 31 Jul 2020 12:58:16 +0200 Subject: [PATCH] file-systems: Add %debug-file-system. * gnu/system/file-systems.scm (%debug-file-system): New variable, (%base-file-systems): add it. --- gnu/system/file-systems.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index f6b0d8a964..660f9942b0 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -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))