Problem with old files in freebsd-update/files

Janky Jay, III jankyj at unfs.us
Tue Feb 27 23:55:46 UTC 2018


Hello,

On 02/27/2018 01:31 PM, Kurt Jaeger wrote:
> Hi!
> 
>> FreeBSD 10.4-RELEASE-p3 (GENERIC) #0: Tue Nov 14 09:06:09 UTC 2017
>>
>> I wrote about this before, and was told to use "pkg clean" to clean up old 
>> files which I now do every week, but...
> 
> I have those files in /var/db/freebsd-update/
> 
> And if I want to clean them up, I do:
> 
> cd /var/db
> mv freebsd-update fbsd-up-old
> mkdir freebsd-update
> chmod 700 freebsd-update
> rm -rf fbsd-up-old

	Out of curiosity, why not just:

~ # rm -rf /var/db/freebsd-update/*

	Is there a reason you're moving the directory and creating a new, empty
one?

Regards,
Janky Jay, III

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180227/4e51069d/attachment.sig>


More information about the freebsd-ports mailing list