ladybird/Base/etc/fstab
Sergey Bugaev 53647e347f Kernel+Base: Mount root filesystem read-only :^)
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.
2020-05-29 07:53:30 +02:00

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