Thread: Embedded.
View Single Post
  #6   (View Single Post)  
Old 28th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Default

Quote:
Originally Posted by jggimi View Post
Ooops. "/" is mounted writeable by /etc/rc; read-only in fstab(5) won't help.
So for / rc overrides anything in fstab?
Presumably this is true and it could be changed for other mounts - not that I would.

Quote:
Originally Posted by jggimi View Post
You'll have to modify the rc(8) script to keep it read only:
Code:
.
.
.
umount -a >/dev/null 2>&1
mount -a -t nonfs,vnd
mount -uw /        # root on nfs requires this, others aren't hurt
rm -f /fastboot        # XXX (root now writeable)
.
.
.
Are we still in Kansas?
A good thing ™ I paid attention in Italian lessons ...

Quote:
Originally Posted by jggimi View Post
Having /root and /home read-only is your choice, based on your needs.
Cool.
As long as I don't want to write I don't need them.

Quote:
Originally Posted by jggimi View Post
/etc read/write is required by dhclient(8) as it writes resolv.conf(5).
Of course. Good thinking. Although that would be DNS yes?

Best wishes.
Reply With Quote