Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] omitting redirecting man pages from compression
Date: Mon, 20 Sep 2010 07:09:16
Message-Id: 201009200245.50115.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] omitting redirecting man pages from compression by Peter Volkov
1 On Monday, September 20, 2010 01:59:33 Peter Volkov wrote:
2 > В Вск, 19/09/2010 в 19:43 -0400, Mike Frysinger пишет:
3 > > many man pages exist merely as a redirect to another man page:
4 > > $ xzcat /usr/share/man/man1/zcat.1.xz
5 > > .so man1/gzip.1
6 > >
7 > > compressing these tiny (always?) results in a larger file. that means we
8 > > arent saving space, and we're adding overhead at runtime.
9 >
10 > Isn't it better to skip compression on all tiny files (not only man
11 > pages)? In such case some other functions will need to be updated too
12 > (e.g. ecompress --suffix)...
13
14 perhaps, but i think it should only be done on automatic dirs like
15 docs/info/man. as for the --suffix thing, where would that be an issue ?
16 people already know they should never rely on these dirs being compressed with
17 a predictable format.
18 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies