From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:53:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA9421065670 for ; Sun, 27 Feb 2011 16:53:39 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by mx1.freebsd.org (Postfix) with ESMTP id 580ED8FC12 for ; Sun, 27 Feb 2011 16:53:38 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACIKak18lLUR/2dsb2JhbACmQnS5DYVhBI9PJg X-IronPort-AV: E=Sophos;i="4.62,234,1297008000"; d="scan'208";a="636983658" Received: from unknown (HELO smtp.phoenix) ([124.148.181.17]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 28 Feb 2011 00:25:47 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6F3DD17164; Mon, 28 Feb 2011 03:25:47 +1100 (EST) Date: Mon, 28 Feb 2011 03:25:47 +1100 From: andrew clarke To: Neil Long Message-ID: <20110227162547.GA58054@ozzmosis.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update housekeeping? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 16:53:39 -0000 On Fri 2011-02-25 17:26:52 UTC+0000, Neil Long (neil@cymru.com) wrote: > Just noticed how large /var/db/freebsd-update has grown on a box I > just upgraded from 7.3 to 7.4 (but I can't recall when I started > using it). > > Is there a recommended approach or just rm the directory if I have > no need to roll it back? Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as my /var is "only" 1 GB and was running low on free space. Doing this should be no different to a fresh install where this directory is initially empty anyway. Of course if you're still wary you could make a tarball backup of that directory somewhere else before emptying it out. IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't exist, so you may need to mkdir it after using rm -rf. Regards Andrew