From owner-cvs-all Wed Apr 3 7:37:31 2002 Delivered-To: cvs-all@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 43DB937B41B; Wed, 3 Apr 2002 07:37:26 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.12.2/8.12.2) with ESMTP id g33FbE9r083749; Wed, 3 Apr 2002 10:37:19 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200204031537.g33FbE9r083749@aldan.algebra.com> Date: Wed, 3 Apr 2002 10:37:14 -0500 (EST) From: Mikhail Teterin Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade To: jhb@FreeBSD.org Cc: winter@jurai.net, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, obrien@FreeBSD.org, jkh@winston.freebsd.org, pst@pst.org, des@ofug.org, imp@village.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 3 Apr, John Baldwin wrote: > > On 03-Apr-2002 Matthew N. Dodd wrote: >> On Tue, 2 Apr 2002, M. Warner Losh wrote: >>> It would be a lot easier with package.tar rather than package.tar.gz >>> I think. Or does the meta-data include the decompression tables? >> >> It would be alot easier with package.zip. > > That's why libh uses zip rather than tar. zip uses a table at the > beginning of hte file where as tar's records are inline, correct? Thus > with zip all your metadata is in one fixed location but in tar it's > scattered all over the file and you have to seek around to find bits, > which would be very slow unless you cached it. But .zip is noticeably bigger than .tar.gz. Not to mention, .tar.bz2. And the package size is what's of the highest priority, IMHO, since disks and especially bandwidth don't grow nearly as fast as the CPU speeds. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message