Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 08:55:37 -0800
From:      Jason Helfman <jhelfman@e-e.com>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        Neil Long <neil@cymru.com>, freebsd-questions@freebsd.org
Subject:   Re: freebsd-update housekeeping?
Message-ID:  <20110228165537.GN76063@eggman.experts-exchange.com>
In-Reply-To: <20110227162547.GA58054@ozzmosis.com>
References:  <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> <20110227162547.GA58054@ozzmosis.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110228165537.GN76063>