I'm trying to get my Debian system readonly (few reasons for this, but mainly it runs on compact flash and suits the system purpose).
In /etc/fstab I have all the necessary things either readonly or mounted as TMPFS. And / certainly behaves readonly in that I cannot write to it (obviously), and as you can see when I run the mount command:
/dev/hda2 on / type ext3 (ro,errors=remount-ro,data=ordered)
However when I run the mount command, I get three extra lines that concern me:
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec)
none on /proc type proc (rw,nosuid,nodev,noexec)
How can I get these to be read-only as well without breaking the system?
Any help appreciated, thanks.