Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 16:48:31 -0700
From:      "Janky Jay, III" <jankyj@unfs.us>
To:        freebsd-ports@freebsd.org
Subject:   Re: Problem with old files in freebsd-update/files
Message-ID:  <460fb9bb-bc39-a9dd-18f9-dd7e4b28cac1@unfs.us>
In-Reply-To: <20180227203132.GU32429@home.opsec.eu>
References:  <alpine.BSF.2.21.1802280641350.20297@aneurin.horsfall.org> <20180227203132.GU32429@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aalvCs9QiOenzHuOBmHeVF6rcoFeEQvT4
Content-Type: multipart/mixed; boundary="oUqaiCciEdE6puPtHjLSLe6KxhByC3Rlf";
 protected-headers="v1"
From: "Janky Jay, III" <jankyj@unfs.us>
To: freebsd-ports@freebsd.org
Message-ID: <460fb9bb-bc39-a9dd-18f9-dd7e4b28cac1@unfs.us>
Subject: Re: Problem with old files in freebsd-update/files
References: <alpine.BSF.2.21.1802280641350.20297@aneurin.horsfall.org>
 <20180227203132.GU32429@home.opsec.eu>
In-Reply-To: <20180227203132.GU32429@home.opsec.eu>

--oUqaiCciEdE6puPtHjLSLe6KxhByC3Rlf
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Hello,

On 02/27/2018 01:31 PM, Kurt Jaeger wrote:
> Hi!
>=20
>> 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=20
>> files which I now do every week, but...
>=20
> I have those files in /var/db/freebsd-update/
>=20
> And if I want to clean them up, I do:
>=20
> 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


--oUqaiCciEdE6puPtHjLSLe6KxhByC3Rlf--

--aalvCs9QiOenzHuOBmHeVF6rcoFeEQvT4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlqV7lQACgkQGK3MsUbJZn7KEwCZAQ+ylrQDhVETJTT4o/+UefuS
3ccAnReuj3c8kfKC1qqxYb6ZBrmfV91S
=LTt6
-----END PGP SIGNATURE-----

--aalvCs9QiOenzHuOBmHeVF6rcoFeEQvT4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460fb9bb-bc39-a9dd-18f9-dd7e4b28cac1>