On Sat, Sep 06, 2014 at 05:42:21PM +0100, Jason McIntyre wrote: > On Fri, Sep 05, 2014 at 07:56:33PM -0500, Justin Haynes wrote: > > How can one know if a command appearing in the man pages is excluded from > > the base install of an architecture without extracting base tarball to > > discover this fact? > > > > As an example, take pdisk in 5.5 RELEASE At > > http://www.openbsd.org/cgi-bin/man.cgi, a search for pdisk in All > > Architectures, macppc and i386 will return the man page for pdisk. > > > > pdisk does appear in CVS of course: > > http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/sbin/pdisk/?only_with_tag=OPENBSD_5_5_BASE#dirlist > > > > But pdisk appears in macppc and not in i386 in base.tgz for 5.5. > > > > My expectation of the manual is that it is would not contain man pages for > > items not included in an arch. Is this an unreasonable expectation? > > > > Thanks, > > > > Justin > > > > just to add a bit to what ted said... > > generally you'll have all the man pages on an install, for all archs. > > if you're on i386 and you type "man pdisk", it'll tell you there's no > such page. if you're on macppc and you want to know if i386 has (or does > not have) the pdisk man page, you can try "man -S i386 pdisk". i think > this is what you're asking, but i'm not sure.
arch-dependent manpages are currently somewhat obvious in apropos, but not elsewhere. I expect Ingo's work on man/mandoc merges will make this obvious everywhere.

