1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

units: introduce unit file for FUSE fs

FUSE and configfs is very very similar, so handle both the same way.
This commit is contained in:
Lennart Poettering 2011-09-22 03:00:04 +02:00
parent d418f857f8
commit 7ef5875d14
3 changed files with 25 additions and 0 deletions

View File

@ -362,6 +362,7 @@ dist_systemunit_DATA = \
units/sys-kernel-config.mount \
units/sys-kernel-debug.mount \
units/sys-kernel-security.mount \
units/sys-fs-fuse-connections.mount \
units/var-run.mount \
units/media.mount \
units/remount-rootfs.service \
@ -1840,6 +1841,7 @@ endif
sys-kernel-config.mount \
sys-kernel-debug.mount \
sys-kernel-security.mount \
sys-fs-fuse-connections.mount \
systemd-vconsole-setup.service \
systemd-modules-load.service \
systemd-random-seed-load.service \
@ -1853,6 +1855,7 @@ endif
$(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
$(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
$(LN_S) ../sys-kernel-security.mount sys-kernel-security.mount && \
$(LN_S) ../sys-fs-fuse-connections.mount sys-fs-fuse-connections.mount && \
$(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
$(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
$(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \

4
TODO
View File

@ -17,6 +17,10 @@ Bugfixes:
Features:
* add an option to make mounts private/shareable and so on, enable this for root by default
* https://bugzilla.redhat.com/show_bug.cgi?id=727068
* for socket units don't inherit global stdout setting.
* internal restart counter for units (focus on auto-respawn)

View File

@ -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 General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
[Unit]
Description=FUSE Control File System
DefaultDependencies=no
ConditionPathExists=/sys/fs/fuse/connections
After=systemd-modules-load.service
Before=sysinit.target
[Mount]
What=fusectl
Where=/sys/fs/fuse/connections
Type=fusectl