summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 03:20:28 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 03:56:55 +0200
commite124e7a4a15f89fc6fbdf3e554a86d5a26160624 (patch)
tree10f63294a97fff710589fc63657dd355432e0443 /units
parent0286cc1551927ea93e22b2d451a8bedddfc9d4ea (diff)
units: drop automount unit for /sys/kernel/debug
Since debugfs cannot be compiled as module there's little benefit in having it as autofs mount point.
Diffstat (limited to 'units')
-rw-r--r--units/sys-kernel-config.mount1
-rw-r--r--units/sys-kernel-debug.automount15
-rw-r--r--units/sys-kernel-debug.mount2
3 files changed, 3 insertions, 15 deletions
diff --git a/units/sys-kernel-config.mount b/units/sys-kernel-config.mount
index f64b1ac25f..d6862bf6bd 100644
--- a/units/sys-kernel-config.mount
+++ b/units/sys-kernel-config.mount
@@ -10,6 +10,7 @@ Description=Configuration File System
DefaultDependencies=no
ConditionPathExists=/sys/kernel/config
After=systemd-modules-load.service
+Before=sysinit.target
[Mount]
What=configfs
diff --git a/units/sys-kernel-debug.automount b/units/sys-kernel-debug.automount
deleted file mode 100644
index 2f2de9829f..0000000000
--- a/units/sys-kernel-debug.automount
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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=Debug File System Automount Point
-DefaultDependencies=no
-Before=sysinit.target
-ConditionPathExists=/sys/kernel/debug
-
-[Automount]
-Where=/sys/kernel/debug
diff --git a/units/sys-kernel-debug.mount b/units/sys-kernel-debug.mount
index 53d107260b..d9fca1ff3d 100644
--- a/units/sys-kernel-debug.mount
+++ b/units/sys-kernel-debug.mount
@@ -8,6 +8,8 @@
[Unit]
Description=Debug File System
DefaultDependencies=no
+ConditionPathExists=/sys/kernel/debug
+Before=sysinit.target
[Mount]
What=debugfs