guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/02: file-systems: Add %debug-file-system.
Date: Fri, 31 Jul 2020 07:00:02 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 6bb07e91e1ab9367f636a3a5e9d52a9e0772aa89
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Jul 31 12:58:16 2020 +0200

    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 f6b0d8a..660f994 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]