freebsd-update housekeeping?

Jason Helfman jhelfman at
Mon Feb 28 16:59:00 UTC 2011

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 at 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.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

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.


Jason Helfman
System Administrator
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5

More information about the freebsd-questions mailing list