From owner-freebsd-current@FreeBSD.ORG Fri May 2 00:10:13 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5CF837B405; Fri, 2 May 2003 00:10:08 -0700 (PDT) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 545AE43F3F; Fri, 2 May 2003 00:10:08 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (210.50.32.82) by smtp02.syd.iprimus.net.au (7.0.012) id 3E8A16000056F5D6; Fri, 2 May 2003 17:10:06 +1000 Received: by dilbert.robbins.dropbear.id.au (Postfix, from userid 1000) id 6B82CC90D; Fri, 2 May 2003 17:09:57 +1000 (EST) Date: Fri, 2 May 2003 17:09:57 +1000 From: Tim Robbins To: Ruslan Ermilov Message-ID: <20030502170957.A73477@dilbert.robbins.dropbear.id.au> References: <20030502011307.GA82420@sunbay.com> <20030502153334.A70914@dilbert.robbins.dropbear.id.au> <20030502063200.GC12809@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030502063200.GC12809@sunbay.com>; from ru@FreeBSD.ORG on Fri, May 02, 2003 at 09:32:00AM +0300 cc: current@FreeBSD.ORG Subject: Re: HEADS UP: bzip2(1) compression for manpages, Groff and Texinfo docs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 07:10:13 -0000 On Fri, May 02, 2003 at 09:32:00AM +0300, Ruslan Ermilov wrote: > On Fri, May 02, 2003 at 03:33:34PM +1000, Tim Robbins wrote: > > On Fri, May 02, 2003 at 04:13:07AM +0300, Ruslan Ermilov wrote: > > > > > This is just an announcement that I'm going to add bzip2(1) > > > support to man(1) and makewhatis(1) (catman(1) already has > > > it), and then switch the default compression method from > > > gzip(1) to bzip2(1), for manpages, Groff and Texinfo docs. > > > (The latest 4.5 texinfo supports bzip2.) > > > > I don't mean to sound rude, but what is the justification for this? > > > Sorry to be sounding obvious, but what other use other than > better compression one should expect from a compression tool? Here are the total compressed sizes for all the section 1 manual pages in src/usr.bin: compress: 670776 bytes, 1.33 * gzip size gzip: 504723 bytes, 1.00 * gzip size gzip -9: 504441 bytes, 1.00 * gzip size bzip2: 494974 bytes, 0.98 * gzip size bzip2 -9: 494974 bytes, 0.98 * gzip size It does not look like bzip2 compresses the manual pages well enough to bother replacing gzip, especially considering the relative speeds of the two and the backwards compatibility issues. Tim