summaryrefslogtreecommitdiff
path: root/units/sys-kernel-debug.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/sys-kernel-debug.mount')
-rw-r--r--units/sys-kernel-debug.mount18
1 files changed, 18 insertions, 0 deletions
diff --git a/units/sys-kernel-debug.mount b/units/sys-kernel-debug.mount
new file mode 100644
index 0000000000..8b1e33e7f7
--- /dev/null
+++ b/units/sys-kernel-debug.mount
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Debug File System
+Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
+DefaultDependencies=no
+ConditionPathExists=/sys/kernel/debug
+Before=sysinit.target
+
+[Mount]
+What=debugfs
+Where=/sys/kernel/debug
+Type=debugfs