From owner-freebsd-bugs Mon Feb 11 17:10: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3549537B404 for ; Mon, 11 Feb 2002 17:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1C1A2m35257; Mon, 11 Feb 2002 17:10:02 -0800 (PST) (envelope-from gnats) Date: Mon, 11 Feb 2002 17:10:02 -0800 (PST) Message-Id: <200202120110.g1C1A2m35257@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: bin/34832: /usr/share/man/cat3/setkey.3.gz linked to crypt.3.gz, not cipher.3.gz Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/34832; it has been noted by GNATS. From: "Crist J. Clark" To: Alan Eldridge 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