mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 08:07:35 +00:00

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.
12 lines
461 B
Text
12 lines
461 B
Text
# 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
|