mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
![Daniel Bertalan](/assets/img/avatar_default.png)
This directory has to be writable if we want to install ports that have been built inside Serenity. It's owned by root anyway, so having it be read-only does not provide many security benefits.
15 lines
549 B
Plaintext
15 lines
549 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, /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
|
|
/root /root bind bind,nodev,nosuid
|
|
/var /var bind bind,nodev,nosuid
|
|
/www /www bind bind,nodev,nosuid
|
|
/usr/Tests /usr/Tests bind bind,nodev,ro
|
|
/usr/local /usr/local bind bind,nodev,nosuid
|
|
|
|
none /tmp tmp nodev,nosuid
|