]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: don't mount tmpfs on /media anymore
authorLennart Poettering <lennart@poettering.net>
Tue, 27 Mar 2012 15:04:22 +0000 (17:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Mar 2012 15:04:22 +0000 (17:04 +0200)
udisks2 doesn't use /media anymore, instead mounts removable media in a
user-private directory beneath /run. /media is hence mostly obsolete and
hence it makes little sense to continue to mount a tmpfs to it.

Distributions should consider dropping the mount point entirely since
nothing uses it anymore.

Makefile.am
TODO
units/media.mount [deleted file]

index abe21506df6e18bea37f8ba1e9e10593ed5a8fee..0fa38d8ccb337e88e756dd642240a8834de4291e 100644 (file)
@@ -290,7 +290,6 @@ dist_systemunit_DATA = \
        units/sys-kernel-debug.mount \
        units/sys-fs-fuse-connections.mount \
        units/var-run.mount \
-       units/media.mount \
        units/remount-rootfs.service \
        units/printer.target \
        units/sound.target \
@@ -2283,13 +2282,11 @@ systemd-install-data-hook:
                rm -f systemd-remount-api-vfs.service \
                        fsck-root.service \
                        remount-rootfs.service \
-                       var-run.mount \
-                       media.mount && \
+                       var-run.mount && \
                $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \
                $(LN_S) ../fsck-root.service fsck-root.service && \
                $(LN_S) ../remount-rootfs.service remount-rootfs.service && \
-               $(LN_S) ../var-run.mount var-run.mount && \
-               $(LN_S) ../media.mount media.mount )
+               $(LN_S) ../var-run.mount var-run.mount )
        ( cd $(DESTDIR)$(userunitdir) && \
                rm -f shutdown.target sockets.target bluetooth.target printer.target sound.target && \
                $(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
diff --git a/TODO b/TODO
index 2fe676a724a97ec1800d49c889ac5238eb6bc917..de3b2d63a1fc14471a9b8379593d90c887531429 100644 (file)
--- a/TODO
+++ b/TODO
@@ -18,6 +18,8 @@ Bugfixes:
 
 Features:
 
+* dbus upstream still refers to dbus.target and shouldn't
+
 * Make -f in systemctl enable both --follow and --force
 
 * ensure that logind sets the syslog facility to AUTH when logging
diff --git a/units/media.mount b/units/media.mount
deleted file mode 100644 (file)
index 66a5a5c..0000000
+++ /dev/null
@@ -1,16 +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=Media Directory
-Before=local-fs.target
-
-[Mount]
-What=tmpfs
-Where=/media
-Type=tmpfs
-Options=mode=755,nosuid,nodev,noexec