linux read only install - how hard is this to do????
Hello everyone, if there is another post somewhere about this please just point it out to me. I couldnt find one. I want to se up my linux filesystem partition read-only. my fstab looks like this:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdc1 / ext2 noauto,ro 0 1
/dev/hdc2 /mnt/temp ext3 defaults 0 0
proc /proc proc defaults 0 0
none /dev/pts devpts defaults 0 0
and i have a symbolic link in var, so that the logs get written in mnt/temp, which i want to be read write.
ln -s /mnt/temp/log /var/log
it seems that the only time i can get the system to see that i want it read only is when i take out the rc.sysinit file. is there a way to boot up properly then change the filesystem to read only after the boot up process does all of its writing?? should i change rc.sysinit to mount the filesystem read only, if so, what should alter there? thanks
Last edited by newguy21; 10-06-2004 at 10:11 AM.
|