Subject: Re: shared/readonly root filesystem
To: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-arm32
Date: 09/25/1998 09:37:47
Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de> writes:
> I guess I can share all but var (using a hard link farm on the NFS server)
> if I get name and network interface configuration by dhcp?

For the Shark distributions we at DEC did, we actually included a
'var.tar.gz' in the root FS, and made /var an MFS and untarred that
into it at startup.

Yes, totally contrary to that spirit of /var, but it served a purpose.
If your mail spools are elsewhere, and you're sending log messages
elsewhere, and you don't mind losing the contents of /var/tmp etc.,
it's a reasonable solution.  8-)


The other thing you need to worry about, for mounting root read-only
is /dev/log, which syslogd wants to create at startup.  we got around
this by populating /dev, but also including a mimum dev.tar.gz,
moiunting /dev as an MFS, and then populating it.



cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
Plug: Get your official NetBSD-1.3.2 CDROM set today! http://www.netbsd.com/