From owner-freebsd-arch Sun Jul 7 17:43:11 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C9C837B400; Sun, 7 Jul 2002 17:43:08 -0700 (PDT) Received: from jkh-gw.queasyweasel.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id A36F143E42; Sun, 7 Jul 2002 17:43:07 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Received: from adsl-64-173-15-99.dsl.sntc01.pacbell.net (jkh@mango.freebsd.com [64.173.15.99]) by jkh-gw.queasyweasel.com (8.12.3/8.12.3) with ESMTP id g680fAvm038889; Sun, 7 Jul 2002 17:41:12 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Date: Sun, 7 Jul 2002 17:41:45 -0700 Subject: Re: Package system flaws? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: Giorgos Keramidas , Wes Peters , Dan Moschuk , arch@FreeBSD.ORG To: Dag-Erling Smorgrav From: Jordan K Hubbard In-Reply-To: Message-Id: <7AAA514D-920B-11D6-AACD-0003938C7B7E@queasyweasel.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, July 7, 2002, at 01:55 PM, Dag-Erling Smorgrav wrote: > That's precisely what I want to avoid. With tar, you always have to > uncompress the entire package to find even just one file (unless you > use the GNU-specific --fast-read option, in which case it stops once > it finds the file you asked for) Actually, it's the FreeBSD-specific --fast-read option. I added it so that I could extract the +CONTENTS file without having tar go all the way through the tarball looking for additional +CONTENTS files. I'm actually with Wes anyway - zip would be a fine format on account of the fact that it: 1) Allows random access AND compression 2) Has comment fields for each archive member and for the zip file itself which can be [ab]used for storing checksums, PGP signatures, etc. 3) Can be programmatically accessed using some of the libzip libraries available so you aren't always at the mercy of being at arm's length with a command like tar (which is nice when you're trying to write a package-extracting front-end which is graphical and also has little progress meters and such which advance as each item is extracted from the archive).. But then again, I also promised myself I'd stay out of this discussion so I'll shut up now and continue to watch all of you debate this. :) -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message