]> err.no Git - systemd/commitdiff
units: drop automount unit for /sys/kernel/debug
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Sep 2011 01:20:28 +0000 (03:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Sep 2011 01:56:55 +0000 (03:56 +0200)
Since debugfs cannot be compiled as module there's little benefit in
having it as autofs mount point.

Makefile.am
TODO
units/sys-kernel-config.mount
units/sys-kernel-debug.automount [deleted file]
units/sys-kernel-debug.mount

index de6325d4a5f6c03cfbd9838b50c61e131962b172..ad21f681e4d9277e62b1caf2110c0591e0ced036 100644 (file)
@@ -362,7 +362,6 @@ dist_systemunit_DATA = \
        units/dev-mqueue.automount \
        units/dev-mqueue.mount \
        units/sys-kernel-config.mount \
-       units/sys-kernel-debug.automount \
        units/sys-kernel-debug.mount \
        units/sys-kernel-security.automount \
        units/sys-kernel-security.mount \
@@ -1842,7 +1841,7 @@ endif
                rm -f dev-hugepages.automount \
                        dev-mqueue.automount \
                         sys-kernel-config.mount \
-                       sys-kernel-debug.automount \
+                       sys-kernel-debug.mount \
                        sys-kernel-security.automount \
                        systemd-vconsole-setup.service \
                        systemd-modules-load.service \
@@ -1855,7 +1854,7 @@ endif
                $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
                $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \
                 $(LN_S) ../sys-kernel-config.mount sys-kernel-config.mount && \
-               $(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
+               $(LN_S) ../sys-kernel-debug.mount sys-kernel-debug.mount && \
                $(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
                $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \
                $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \
diff --git a/TODO b/TODO
index 123e96195a230399790b59055d7801b440dda708..889036051bc9b0b1455338c09e5b83f5306a76c9 100644 (file)
--- a/TODO
+++ b/TODO
@@ -16,11 +16,11 @@ Features:
 * File systems:
 
   mqueue         -       boot
-  configfs       module  boot (order after module load)
+  configfs       module  boot (order after module load)  GOOD
   securityfs     -       boot
-  binfmt_misc    module  autofs
-  fuse           module  udev
-  debug          -       boot
+  binfmt_misc    module  autofs                          GOOD
+  fuse           module  udev                            GOOD
+  debug          -       boot                            GOOD
   hugepages      -       boot
 
 * introduce sd_log_open() to create a connection to the syslog bridge via sd-daemon.h
index f64b1ac25f7532777292fd17cb438c5304276fc0..d6862bf6bd8bd0f9938181ac3cc7ef034edb9b2a 100644 (file)
@@ -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 (file)
index 2f2de98..0000000
+++ /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
index 53d107260b2fd027a844ee25ec8b81fd41782e7a..d9fca1ff3d63d58022e21766ebb2d00decfaa7cd 100644 (file)
@@ -8,6 +8,8 @@
 [Unit]
 Description=Debug File System
 DefaultDependencies=no
+ConditionPathExists=/sys/kernel/debug
+Before=sysinit.target
 
 [Mount]
 What=debugfs