diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-18 03:10:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-18 03:10:17 +0200 |
commit | 670802d4b1d16c3785a695bea6e13b8bf8c8a822 (patch) | |
tree | 3d1403f7e750de81063354bfd1bbdf6a02481c73 /src | |
parent | 835d81db939bf7a75fcf057462d71777ec475c21 (diff) |
units: replace a few non-essential API mounts with automount units
Diffstat (limited to 'src')
-rw-r--r-- | src/mount-setup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c index e4f2b73..889cf67 100644 --- a/src/mount-setup.c +++ b/src/mount-setup.c @@ -48,9 +48,6 @@ static const MountPoint mount_table[] = { { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, { "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, { "cgroup", "/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, true }, - { "debugfs", "/sys/kernel/debug", "debugfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, - { "binfmt_misc", "/proc/sys/fs/binfmt_misc", "binfmt_misc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, - { "mqueue", "/dev/mqueue", "mqueue", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false }, }; bool mount_point_is_api(const char *path) { @@ -104,7 +101,7 @@ static int mount_cgroup_controllers(void) { FILE *f; char buf [256]; - /* Mount all available cgroup controllers. */ + /* Mount all available cgroup controllers that are built into the kernel. */ if (!(f = fopen("/proc/cgroups", "re"))) return -ENOENT; |