Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2022 14:02:51 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: size of /var/db/freebsd-update
Message-ID:  <86tuejnoqc.fsf@bay.localnet>
In-Reply-To: <YdS5LTOPNOrhT/gv@ceres.zyxst.net> (tech-lists@zyxst.net's message of "Tue, 4 Jan 2022 21:16:29 %2B0000")
References:  <YdNIjQQ08LYWU8TM@ceres.zyxst.net> <d5f45810-b384-f3c3-8f4d-7e280683d680@gmail.com> <YdS5LTOPNOrhT/gv@ceres.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
tech-lists <tech-lists@zyxst.net> writes:

> On Tue, Jan 04, 2022 at 07:09:08PM +0000, Graham Perrin wrote:
>
>>Alternatively, I recently received advice to remove the contents of the
>>directory to *fix* freebsd-update:
>>
>><https://forums.freebsd.org/posts/549166>;
>
> ;)
>
> thing is though, why is it there if there's no use for it? i'd have
> thought it would tidy up after itself when done[1], or there'd be a 
> switch you could give to the freebsd-update command that'd say like
> 'the update completed ok so tidy up these files' after you've 
> manually checked everything was working ok after the upgrade & reboot
>
> [1] maybe not by default so an update could be rolled back

I always clear that directory after I am sure that I won't want to roll
back the upgrade (I never have).  I usually leave the accessory files
there:
# ls -l /var/db/freebsd-update/
total 15
-rw-r--r--  1 root  wheel  800 Aug 24 13:28 pub.ssl
-rw-r--r--  1 root  wheel   50 Oct 12 10:52 serverlist
-rw-r--r--  1 root  wheel   50 Oct 12 10:52 serverlist_full
-rw-r--r--  1 root  wheel   25 Oct 12 10:52 serverlist_tried
-rw-r--r--  1 root  wheel  150 Oct 12 10:52 tINDEX.present
-rw-r--r--  1 root  wheel  112 Oct 12 10:52 tag

I don't think those files are necessary and I think that I have also
removed those without any problems.

-- 
Carl Johnson		carlj@peak.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86tuejnoqc.fsf>