mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-17 05:12:58 +00:00
53647e347f
We remount /home and /root as read-write, to keep the ability to modify files there. /tmp remains read-write, as it is mounted from a TmpFS.
13 lines
461 B
Plaintext
13 lines
461 B
Plaintext
# 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
|
|
/bin /bin bind bind,nodev,ro
|
|
/home /home bind bind,nodev,nosuid
|
|
/root /root bind bind,nodev,nosuid
|
|
|
|
none /proc proc nosuid
|
|
none /dev/pts devpts noexec,nosuid,ro
|
|
none /tmp tmp nodev,nosuid
|