Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2009 14:55:24 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        David Allen <the.real.david.allen@gmail.com>
Cc:        freebsd-questions@freebsd.org, James Phillips <anti_spam256@yahoo.ca>
Subject:   Re: APM
Message-ID:  <07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769@mac.com>
In-Reply-To: <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com>
References:  <474730.92984.qm@web65506.mail.ac4.yahoo.com> <E7630082-8284-45A3-AF72-7C3DB2BBB9DA@mac.com> <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, David--

On Nov 13, 2009, at 2:48 PM, David Allen wrote:
> There are options available in /etc/defaults/rc.conf to do just that,
> but how does one copy over the contents of /var at system boot?

I'd consider adding something to /etc/rc.d/mountcritlocal (which  
normally mounts the local filesystems) to setup a RAMdisk on /var and  
then do "rsync -a /var_template /var" (or use a dump/restore or tar  
pipeline).

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07E2B7F8-3B7B-4B1C-AE6E-B5219BEDE769>