From owner-cvs-all Wed Apr 3 7:40:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mail17.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id DA26737B405 for ; Wed, 3 Apr 2002 07:40:16 -0800 (PST) Received: (qmail 717 invoked from network); 3 Apr 2002 15:40:16 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Apr 2002 15:40:16 -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 g33Ff0v23605; Wed, 3 Apr 2002 10:41:00 -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: <200204031537.g33FbE9r083749@aldan.algebra.com> Date: Wed, 03 Apr 2002 10:40:17 -0500 (EST) From: John Baldwin To: Mikhail Teterin Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade Cc: imp@village.org, des@ofug.org, pst@pst.org, jkh@winston.freebsd.org, obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, winter@jurai.net 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 Mikhail Teterin wrote: > 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. Actually, since you dont' hae to read the whole file to find out where the 10th file's data starts, you actually consume less bandwidth. Disk size still seems to be growing exponentially so I don't think that is quite as large of a concern. The bigger problem with that is that Bloatware (tm) packages keep growing faster than the disks do. :) -- 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