From 06cbbf99656fbf475ac5ecfaf53e0078b130ed81 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 17 Jun 2015 16:57:43 +0200 Subject: [PATCH] helper: No need for a tmpfs on /dev these days We used to have this because / has nodev, but thats not needed anymore as we now have bind-mounts to devices. --- xdg-app-helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xdg-app-helper.c b/xdg-app-helper.c index 7728db9c..0ccad4d2 100644 --- a/xdg-app-helper.c +++ b/xdg-app-helper.c @@ -518,7 +518,6 @@ static const create_table_t create[] = { { FILE_TYPE_DIR, "sys/devices", 0755}, { FILE_TYPE_BIND, "sys/devices", 0755, "/sys/devices"}, { FILE_TYPE_DIR, "dev", 0755}, - { FILE_TYPE_MOUNT, "dev"}, { FILE_TYPE_DIR, "dev/pts", 0755}, { FILE_TYPE_MOUNT, "dev/pts"}, { FILE_TYPE_DIR, "dev/shm", 0755}, @@ -545,7 +544,6 @@ static const create_table_t create_post[] = { static const mount_table_t mount_table[] = { { "proc", "proc", "proc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV }, - { "tmpfs", "dev", "tmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME }, { "devpts", "dev/pts", "devpts","newinstance,ptmxmode=0666,mode=620", MS_NOSUID|MS_NOEXEC }, { "tmpfs", "dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME }, };