Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-update housekeeping?

2 views
Skip to first unread message

Neil Long

unread,
Feb 25, 2011, 12:26:52 PM2/25/11
to
Hi

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?

Thanks
Neil

andrew clarke

unread,
Feb 27, 2011, 11:25:47 AM2/27/11
to

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

Jason Helfman

unread,
Feb 28, 2011, 11:55:37 AM2/28/11
to
On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake:

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

0 new messages