On Tue, Nov 28, 2006 at 11:15:09PM -0000, chentom60 wrote:
> Joe,
>
> Thanks!
>
> I also enjoy using debian on a huge USB drive rather, but I keep
> wondering if this is safe or not. Very good explanation!
>
> One more question, if you mount a read-only file system, how can you
> save something later on? for example, if the file system is read
> only, how could you create some temperary files duing the operation?
> Is it possible to make /bin read only but /tmp read-write?
On my TS-7200 I create a small ramdisk (like 100kb I think), which is used for
/tmp and /var/run in read/write mode. I can't remember the details really, but
basically I just followed the instructions in the TS developer's manual. The
default kernel doesn't include tmpfs, but my rebuild does. If you don't want to
rebuild the kernel, I've used the flashram for /tmp, etc. When the SBC is
running in production, it doesn't need to write to disk, or maintain anything
between reboots (per my requirements).
If I need to make a manual change (like edit a configuration file), I just
"mount / -o remount,rw", do the change, and "mount / -o remount,ro", but in
production /rootfs stays readonly.
Hope that helps.
Joe
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|