]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/sys-kernel-debug.mount
shell-completion: replace "gdb" verb with "debug" for coredumpctl
[thirdparty/systemd.git] / units / sys-kernel-debug.mount
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
670802d4
LP
3# This file is part of systemd.
4#
670802d4 5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
670802d4 8# (at your option) any later version.
670802d4
LP
9
10[Unit]
9a4eeb4a 11Description=Kernel Debug File System
744881d1 12Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
16a5d412 13Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
2edd4434 14DefaultDependencies=no
e124e7a4 15ConditionPathExists=/sys/kernel/debug
fa229d09 16ConditionCapability=CAP_SYS_RAWIO
e124e7a4 17Before=sysinit.target
670802d4
LP
18
19[Mount]
20What=debugfs
21Where=/sys/kernel/debug
22Type=debugfs