question on manpages/hier(7)

Paul Beard paulbeard at
Thu May 9 17:33:44 UTC 2013

Where should site-specific, ie local, man pages live?

For instance, I have: 


-rw-r--r--  1 root  wheel  3597 May  6 00:38 /usr/local/man/man1/php.1.gz
-rw-r--r--  1 root  wheel  3383 Dec 20 19:54 /usr/local/share/man/man1/php.1.gz

My understanding is that the older one is in the right place. The newer one is registered as belonging to php5.4-14 while the old one is orphaned. 

I learn from lsof that the file that is actually opened and displayed is this one:

But that's in /usr/local/man, not /usr/local/share/man. So it's in /usr/local but why not in /usr/local/share? And it's orphaned. Should it be? 

I have just completed a several day cleanup of my local ports installation so I'm a little mystified at this. I also rebuilt my kernel and world so I should be up-to-date there too. 

Paul Beard

Are you trying to win an argument or solve a problem? 

More information about the freebsd-questions mailing list