Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 10:37:14 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
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
Subject:   Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade
Message-ID:  <200204031537.g33FbE9r083749@aldan.algebra.com>
In-Reply-To: <XFMail.20020403103232.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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