udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / sys-kernel-debug.mount
blob6c77ef53c903aed60812d46f6c81e34e5926afed
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
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
8 #  (at your option) any later version.
10 [Unit]
11 Description=Kernel Debug File System
12 Documentation=https://docs.kernel.org/filesystems/debugfs.html
13 Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
14 DefaultDependencies=no
15 ConditionPathExists=/sys/kernel/debug
16 ConditionCapability=CAP_SYS_RAWIO
17 Before=sysinit.target
19 [Mount]
20 What=debugfs
21 Where=/sys/kernel/debug
22 Type=debugfs
23 Options=nosuid,nodev,noexec