Subject: [PATCH] gnu: file-systems: Add xenfs to %pseudo-file-system-types.

From: Skyler Ferris <[email-masked]>
Date: Fri, 27 Oct 2023 13:34:08 -0700

* gnu/system/file-systems.scm (%pseudo-file-system-types): Add xenfs.
---
This patch lets me declare a xenfs filesystem in a guest instance like so:

(operating-system
  ...
  (file-systems (cons (file-system
                        (mount-point "/proc/xen")
                        (device      "xenfs")
                        (type        "xenfs")))))
 gnu/system/file-systems.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index 529f1536de..6d385d71d4 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -369,7 +369,7 @@ (define %pseudo-file-system-types
   ;; List of know pseudo file system types.  This is used when validating file
   ;; system definitions.
   '("binfmt_misc" "cgroup" "cgroup2" "debugfs" "devpts" "devtmpfs" "efivarfs" "fusectl"
-    "hugetlbfs" "overlay" "proc" "securityfs" "sysfs" "tmpfs"))
+    "hugetlbfs" "overlay" "proc" "securityfs" "sysfs" "tmpfs" "xenfs"))
 
 (define %fuse-control-file-system
   ;; Control file system for Linux' file systems in user-space (FUSE).

base-commit: e71864793021051cff35597abd59bb2d5649977d
-- 
2.41.0