On Tue, 6 Apr 1999, Graham Stoney wrote:
> Just out of interest, how do you avoid the problem of files on the root
> filesystem which need to be writable, such as /etc/mtab, /etc/HOSTNAME, and
> /dev/tty*?
/etc/HOSTNAME doesn't need to be writable (higly distribution dependent).
Use the -n argument to mount so it won't write to /etc/mtab.
As far as stuff in /dev, I'm not really sure. Your /var idea would work,
assuming you can get it mounted before you need things in /dev. But then
this defeats the idea having everything read-only so that no fsck needs to
be done.
You could make /dev a ramdisk and run script that generates the right
files. Again, this assumes you do it all before they are needed.
--Jeremy
Jeremy Impson
Network Engineer
Advanced Technologies Department
Lockheed Martin Federal Systems
[EMAIL PROTECTED]