Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] omitting redirecting man pages from compression
Date: Mon, 20 Sep 2010 00:08:38
Message-Id: 4C96A1E1.2000201@gentoo.org
In Reply to: [gentoo-dev] omitting redirecting man pages from compression by Mike Frysinger
1 On 09/19/2010 04:43 PM, Mike Frysinger wrote:
2 > many man pages exist merely as a redirect to another man page:
3 > $ xzcat /usr/share/man/man1/zcat.1.xz
4 > .so man1/gzip.1
5 >
6 > compressing these tiny (always?) results in a larger file. that means we
7 > arent saving space, and we're adding overhead at runtime.
8 >
9 > two options which we can do transparently:
10 > - rewrite the .so man pages into symlinks
11 > - omit them from compression
12 >
13 > the latter is pretty easy (see below). any preferences on which route to take
14 > though as the former shouldnt be too hard either ...
15
16 It feels like an insignificant optimization to me, but I don't feel
17 strongly either way.
18 --
19 Thanks,
20 Zac

Replies

Subject Author
Re: [gentoo-dev] omitting redirecting man pages from compression Mike Frysinger <vapier@g.o>