Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 16:16:08 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Brad Knowles <blk@skynet.be>
Cc:        Alex Zepeda <jazepeda@pacbell.net>, freebsd-current@FreeBSD.org, Rod Taylor <rod@zort.on.ca>
Subject:   Re: bzip2 in src tree (Was Re: ports/16252: bsd.port.mk: Add bzi
Message-ID:  <200001242116.QAA30711@server.baldwin.cx>
In-Reply-To: <v04220807b4b269b1b9de@[195.238.1.121]>

next in thread | previous in thread | raw e-mail | index | archive | help

On 24-Jan-00 Brad Knowles wrote:
> At 2:01 PM -0500 2000/1/24, John Baldwin wrote:
> 
>>  The new install system is probably going to use zip rather than bzip2.
> 
>       I'm curious as to how a choice like this gets made.  Could you
> elaborate?

I did not make the choice personally, I believe that was done by Jordan.  If I
remember correctly, the primary reason is that an archive format that easily
and efficiently allows for a subset of the files contained within to be
extracted.  [bg]zip'd tarballs require you to uncompress and extract the entire
tarball and then throw away the data you don't use.  Since zip integrates the
compression and archiving in one file format, you can look in the zip header,
find the file you want, and then extract and uncompress just its data.  This
functionality is key in the design of the new packaging system as packages will
be responsible for extracting themselves in the new system.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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