From owner-cvs-all Wed Apr 3 7:32:41 2002 Delivered-To: cvs-all@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 0B36837B41A for ; Wed, 3 Apr 2002 07:32:32 -0800 (PST) Received: (qmail 2494 invoked from network); 3 Apr 2002 15:32:31 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Apr 2002 15:32:31 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g33FXFv23514; Wed, 3 Apr 2002 10:33:15 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020403004645.T45452-100000@sasami.jurai.net> Date: Wed, 03 Apr 2002 10:32:32 -0500 (EST) From: John Baldwin To: "Matthew N. Dodd" Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, obrien@FreeBSD.org, jkh@winston.freebsd.org, pst@pst.org, des@ofug.org, mi@aldan.algebra.com, "M. Warner Losh" 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 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. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message