From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 15:48:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68EA116A4CE for ; Tue, 15 Feb 2005 15:48:06 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32EE143D31 for ; Tue, 15 Feb 2005 15:48:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2A9C9512F2; Tue, 15 Feb 2005 07:48:05 -0800 (PST) Date: Tue, 15 Feb 2005 07:48:05 -0800 From: Kris Kennaway To: Christer Solskogen Message-ID: <20050215154805.GB11423@xor.obsecurity.org> References: <42120D6D.6040002@carebears.mine.nu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <42120D6D.6040002@carebears.mine.nu> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org Subject: Re: removing pkgdb.db, and re-generate it X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 15:48:06 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 15, 2005 at 03:55:41PM +0100, Christer Solskogen wrote: > Just for the kicks of it I tried removing > /var/db/pkgdb.db, and re-generate it by running pkgdb. >=20 > The funny thing is that the file is taking lesser space. > (from 4.6M to 3.9M) - not that it is much, but still why? Maybe the database gets fragmented over time from entries being removed, or maybe it's using a different file format. Kris --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCEhm0Wry0BWjoQKURAiewAJ4rsZxyzs+i748hOght4ROnr5XCLgCfUplC kxferk5nvP/v3rhMkDMGOlM= =IbfO -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--