]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/sys-fs-fuse-connections.mount
udev: tag MTD devices for systemd
[thirdparty/systemd.git] / units / sys-fs-fuse-connections.mount
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 #
3 # This file is part of systemd.
4 #
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.
9
10 [Unit]
11 Description=FUSE Control File System
12 Documentation=https://docs.kernel.org/filesystems/fuse.html
13 Documentation=https://systemd.io/API_FILE_SYSTEMS
14 DefaultDependencies=no
15 ConditionPathExists=/sys/fs/fuse/connections
16 ConditionCapability=CAP_SYS_ADMIN
17 ConditionVirtualization=!private-users
18 Before=sysinit.target
19
20 # These dependencies are used to make certain that the module is fully
21 # loaded. Indeed udev starts this unit when it receives an uevent for the
22 # module but the kernel sends it too early, ie before the init() of the module
23 # is fully operational and /sys/fs/fuse/connections is created, see issue#17586.
24
25 After=modprobe@fuse.service
26 Requires=modprobe@fuse.service
27
28 [Mount]
29 What=fusectl
30 Where=/sys/fs/fuse/connections
31 Type=fusectl
32 Options=nosuid,nodev,noexec