]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/sys-kernel-debug.mount
Merge pull request #16556 from keszybz/test-terminal-colors
[thirdparty/systemd.git] / units / sys-kernel-debug.mount
index 7bf08158f871ff88cd4a6bd3abe29f822eca4be8..618270ddae8ab75200d402b4ed9c25f481815517 100644 (file)
@@ -1,14 +1,23 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  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
+Description=Kernel Debug File System
+Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+DefaultDependencies=no
+ConditionPathExists=/sys/kernel/debug
+ConditionCapability=CAP_SYS_RAWIO
+Before=sysinit.target
 
 [Mount]
 What=debugfs
 Where=/sys/kernel/debug
 Type=debugfs
+Options=nosuid,nodev,noexec