summaryrefslogtreecommitdiff
path: root/Base/etc
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-12-25 19:26:38 +0200
committerAndreas Kling <kling@serenityos.org>2020-12-27 23:07:44 +0100
commit247517cd4a3c3bdbcb13a6c0a95c348fbf215377 (patch)
treecf21b501248c4e063e1675b01ca10efb2b990f02 /Base/etc
parent18e77aa28535d52eb6be9c2791a6d217433b1b68 (diff)
downloadserenity-247517cd4a3c3bdbcb13a6c0a95c348fbf215377.zip
Kernel: Introduce the DevFS
The DevFS along with DevPtsFS give a complete solution for populating device nodes in /dev. The main purpose of DevFS is to eliminate the need of device nodes generation when building the system. Later on, DevFS will assist with exposing disk partition nodes.
Diffstat (limited to 'Base/etc')
-rw-r--r--Base/etc/fstab4
1 files changed, 1 insertions, 3 deletions
diff --git a/Base/etc/fstab b/Base/etc/fstab
index 4cff6ee8a6..4ca46238da 100644
--- a/Base/etc/fstab
+++ b/Base/etc/fstab
@@ -1,8 +1,7 @@
# Root file system. This is a fake entry which gets ignored by `mount -a`;
# the actual logic for mounting root is in the kernel.
/dev/hda / ext2 nodev,nosuid,ro
-# Remount /bin, /dev, /root, and /home while adding the appropriate permissions.
-/dev /dev bind bind,nosuid,ro
+# Remount /bin, /root, and /home while adding the appropriate permissions.
/bin /bin bind bind,nodev,ro
/etc /etc bind bind,nodev,nosuid
/home /home bind bind,nodev,nosuid
@@ -10,5 +9,4 @@
/var /var bind bind,nodev,nosuid
none /proc proc nosuid
-none /dev/pts devpts noexec,nosuid,ro
none /tmp tmp nodev,nosuid