From owner-freebsd-current Mon Jan 24 13:19:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id C4E36152D5 for ; Mon, 24 Jan 2000 13:19:14 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id QAA30711; Mon, 24 Jan 2000 16:16:08 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200001242116.QAA30711@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 24 Jan 2000 16:16:08 -0500 (EST) From: John Baldwin To: Brad Knowles Subject: Re: bzip2 in src tree (Was Re: ports/16252: bsd.port.mk: Add bzi Cc: Alex Zepeda , freebsd-current@FreeBSD.org, Rod Taylor Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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