From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 22 17:19:13 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 8383B1065670; Thu, 22 Apr 2010 17:19:13 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 660068FC0C; Thu, 22 Apr 2010 17:19:13 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 9884B22857; Thu, 22 Apr 2010 11:15:46 -0600 (MDT) Received: by night.db.net (Postfix, from userid 100) id 39EA233C2E; Thu, 22 Apr 2010 13:18:55 -0400 (EDT) Date: Thu, 22 Apr 2010 13:18:55 -0400 From: Diane Bruce To: Doug Barton Message-ID: <20100422171855.GA24727@night.db.net> References: <4BCE5ECC.6070202@gmail.com> <4BCFE209.20501@FreeBSD.org> <20100422111758.GA39338@ei.bzerk.org> <20100422125402.GR33521@e.0x20.net> <20100422134425.GA22049@night.db.net> <4BD07DE5.7020801@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BD07DE5.7020801@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Diane Bruce , "Aryeh M. Friedman" , Lars Engels , freebsd-hackers@freebsd.org, Ruben de Groot , Eitan Adler 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: Thu, 22 Apr 2010 17:19:13 -0000 On Thu, Apr 22, 2010 at 09:48:37AM -0700, Doug Barton wrote: > On 4/22/2010 6:44 AM, Diane Bruce wrote: > > On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote: ... > > MAILTO=... > > @weekly /usr/sbin/pkg_info -I -a > > pkg_info -o -a would probably be more useful from the standpoint of The sensible thing to do is to be putting a thumb drive on your machine and backing up the /var/db/pkg after updating. An e-mailed list of any sort would be a last resort and having it fairly compact is a compromise, since you do have the thumb drive to fall back on right? > rebuilding ports after a lost /var/db/pkg. For portmaster users > 'portmaster --list-origins' would give you a list that you could then do > 'portmaster `cat list`' to rebuild everything for you. YMMV ;-) - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db