From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 16:59:00 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 071B7106564A for ; Mon, 28 Feb 2011 16:59:00 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id D60F78FC0A for ; Mon, 28 Feb 2011 16:58:59 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 8245C6F5B22; Mon, 28 Feb 2011 08:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1298912339; x=1300726739; bh=KtVRbO258QgTE9YJuwJ3/M1Jm73t+8lu1z7 Vybfseo8=; b=Q23OOzOMirGjLzVkbxYdNpYaAMO624jGAy0eEmIhPVsCnNt+u7c XqhTF+bZAHAA0aER5OhrVQu2a/sPQQ4JRY46dX7Xdfy+/rwZSw+fs2RUo+3BgOHV aC9ByP1/fmcNkqOhbBGFxhju0ZANFqGqlIpX/H4iFGEUvEY/z/s/OxR0= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1v-sW+D3HLbj; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: from experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with SMTP id 30D916F5B3C; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: (nullmailer pid 22102 invoked by uid 1001); Mon, 28 Feb 2011 16:55:37 -0000 Date: Mon, 28 Feb 2011 08:55:37 -0800 From: Jason Helfman To: andrew clarke Message-ID: <20110228165537.GN76063@eggman.experts-exchange.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> <20110227162547.GA58054@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20110227162547.GA58054@ozzmosis.com> X-Operating-System: FreeBSD 8.2-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Neil Long , 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: Mon, 28 Feb 2011 16:59:00 -0000 On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake: >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 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > If there were no problems with your update, then it is safe to remove the directory, and recreate it. If your update didn't go so well, you will lose the ability to use the 'rollback' feature, which will uninstall previously applied update. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5