Date: Mon, 11 Feb 2002 17:10:02 -0800 (PST) From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/34832: /usr/share/man/cat3/setkey.3.gz linked to crypt.3.gz, not cipher.3.gz Message-ID: <200202120110.g1C1A2m35257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/34832; it has been noted by GNATS. From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Alan Eldridge <alane@geeksrus.net> Cc: bug-followup@FreeBSD.ORG Subject: Re: bin/34832: /usr/share/man/cat3/setkey.3.gz linked to crypt.3.gz, not cipher.3.gz Date: Mon, 11 Feb 2002 17:02:50 -0800 On Mon, Feb 11, 2002 at 04:00:02PM -0800, Alan Eldridge wrote: [snip] > > # find /usr/share/man/cat* -type f -delete > > # echo /usr/bin/catman | su -m man > > > >It takes a few minutes, but it is a one time cost. > > Ah...now is there a way to say "find all files that are dupes > of each other and (hard-or-sym) link 'em together"? > > From "man catman": > > BUGS > man(1) is a setuid program. Be careful that user `man' has write permis- > sions to the catman directories. Catman does not check for any `.so' in > man page sources. Use hard or symlinks to avoid redundant formatted man > pages. > > I presume this means that it *doesn't* use hard or symlinks on its own. I'm a bit confused by that BUGS section too. catman(1) _does_ do links properly. Run, # echo /usr/bin/catman -p -v | su -m man To see what it will do. I _think_ the BUGS section is saying to link or symlink your _manpages._ That's how catman(1) knows when to link rather than reprocess. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202120110.g1C1A2m35257>