On Fri, Sep 05, 2014 at 19:56, 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.

The web interface has some peculiarities. It can be helpful, but it
doesn't quite reflect the man pages you will see on any actual OpenBSD
system.

> 
> 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?

If you look carefully at the path for man.cgi and pdisk, you'll see it
says macpcc, even when you specify arch=i386.

If you really need to know what's included in what architecure, the
files under src/distrib/sets/lists are the canonical source.

Reply via email to