From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 24 02:55:44 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 847D61065670 for ; Sat, 24 Apr 2010 02:55:44 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.50.215]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAD58FC0C for ; Sat, 24 Apr 2010 02:55:44 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id 759B95C18; Fri, 23 Apr 2010 22:55:43 -0400 (EDT) Date: Fri, 23 Apr 2010 22:55:43 -0400 From: Wesley Shields To: Dan Rue Message-ID: <20100424025543.GA75726@atarininja.org> References: <4BCE5ECC.6070202@gmail.com> <4BCFE209.20501@FreeBSD.org> <20100422111758.GA39338@ei.bzerk.org> <20100422135639.GA97536@therub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100422135639.GA97536@therub.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org Subject: Re: regenerating /var/db/pkg X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 02:55:44 -0000 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