Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 1995 10:52:12 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        current@freebsd.org
Subject:   Re: shared /var for -stable and -current?
Message-ID:  <199508081752.KAA04320@gndrsh.aac.dev.com>
In-Reply-To: <199508081254.OAA11478@uriah.heep.sax.de> from "J Wunsch" at Aug 8, 95 02:54:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> As Rodney W. Grimes wrote:
> > 
> > I would share /var between the 2 versions.  There are no changes that
> > I have seen to /var files that would effect you sharing this between
> > any 2.x release that is not handled during boot.  You may want to 
> > force building all of /var/run/dev.db by rm'ing it before the
> > dev_mkdb as that may get confused with device numbers and slice code.
> 
> I would make /var/run (and perhaps /var/log) in MFS. :-)

I would _never_ make /var/log an MFS, just what I want, loose all
my logs on a reboot.  Sure... :-(.

> Otherwise, things like /var/run/foo.pid might really become confusing.
> For /var/log, you can perhaps work it out sharable (e.g. by having one
> machine forwarding all syslog things to the other).

You missed an important detail.  This is 1 machine booting from 2 different
copies of FreeBSD.  Not 2 machines booting from 1 copy of /var :-).

> Same holds for /var/account, if you're going to run accounting, for
> /var/spool/lpd perhaps, etc.  Too many things under /var might
> consider this unique to a single machine.

It is a single machine, just different chants to boot: 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508081752.KAA04320>