Date: Thu, 4 Apr 2002 13:14:07 +0700 From: Alexey Dokuchaev <danfe@regency.nsu.ru> To: Mikhail Teterin <mi@aldan.algebra.com> Cc: jhb@freebsd.org, winter@jurai.net, cvs-all@freebsd.org, cvs-committers@freebsd.org, obrien@freebsd.org, jkh@winston.freebsd.org, pst@pst.org, des@ofug.org, imp@village.org Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade Message-ID: <20020404131407.A67095@regency.nsu.ru> In-Reply-To: <200204031537.g33FbE9r083749@aldan.algebra.com>; from mi@aldan.algebra.com on Wed, Apr 03, 2002 at 10:37:14AM -0500 References: <XFMail.20020403103232.jhb@FreeBSD.org> <200204031537.g33FbE9r083749@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 03, 2002 at 10:37:14AM -0500, 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. They are, because of a thing that RAR (by Eugene Roshal) calls "solid archiving": join all the [uncompressed] files together first, and then compress them with whatever method appropriate. By doing so, one might generate a better dictionary or probability hash, and thus achieve a better compress ratio. RAR is (was?) actually one of the best archivers widely used here in Russia, at least several years ago. Amazing, that "cool" feature of solid archiving existed for years already in UNIX world. That's what I love most about UNIX -- it is a "Superb Technology That Would Never Die" (tm). ./danfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020404131407.A67095>