regenerating /var/db/pkg

Wesley Shields wxs at FreeBSD.org
Sat Apr 24 02:55:44 UTC 2010


On Thu, Apr 22, 2010 at 08:56:39AM -0500, Dan Rue wrote:
> On Thu, Apr 22, 2010 at 03:21:16PM +0300, Eitan Adler wrote:
> > >
> > > Just asking opinions, if people want this, I'll make a patch and
> > > file a PR.
> > >
> > 
> > Is this script correct?
> 
> We're starting to use SSDs for boot drives in our freebsd boxes.  We'd
> like to have /var on a memory backed FS, but losing the package database
> on every reboot is troublesome.  
> 
> This script would be a decent solution to my problem as well, 

You can look into how NanoBSD does things if you want to go this route.

-- WXS


More information about the freebsd-hackers mailing list