On Monday 11 May 2009 15:41:34 Roger Andersen wrote:
> 5. The root filesystem is normally read/write, and I want to make it
> readonly in an attempt to keep it from being corrupted every stinking time
> I power cycle the board. I imagine I'd want to make it read/write again
> from time to time to do maintenance on the system.

so do it ?  a simple "ro" in your /etc/fstab for the root device sounds like 
it'd do what you want with no other change.

some programs want a writable /tmp, so typically people do:
/tmp /tmp tmpfs nosuid,nodev,noexec

that would only leave /var for log programs (assuming you actually do that 
kind of thing -- most embedded systems dont).  if some other app wants write 
access to /var (like /var/lib or /var/run), you can look into either giving 
/var a dedicated partition or mounting a tmpfs there too.
-mike

Reply via email to