[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Creating symlinks to manpages



On Mon, Feb 11, 2013 at 01:58:10PM +0100, Arno Töll wrote:
> On 11.02.2013 13:46, Игорь Пашев wrote:
> > I have foo.1 in d/xxx.manpages, and only want to have
> > bar.1 -> foo.1, no matter where foo.1 get its location
> > or how it is compressed.
> 
> You should not use symlinks, but source pages such tasks [1].

Please don't.  They're less efficient because man-db has to open the
file to figure out the target; over a large number of pages this makes a
difference.

> Install a manpage like:
> 
> bar.1:
> .so man1/foo.1
> 
> [1] http://www.tldp.org/HOWTO/Man-Page/q4.html

This reasoning makes no sense for the Debian system, because
/usr/share/man will always be on a filesystem that supports symbolic
links.  Just use them.

-- 
Colin Watson                                       [cjwatson@debian.org]


Reply to: