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 (n...@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-unsubscr...@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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to