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.
tingping/wmclass
Alexander Larsson 2015-06-17 16:57:43 +02:00
parent 9a8c32364a
commit 06cbbf9965
1 changed files with 0 additions and 2 deletions

View File

@ -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 },
};