Bug 232587 - devinfo.8 contains undefined reference to pnpinfo.8
Summary: devinfo.8 contains undefined reference to pnpinfo.8
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2018-10-24 00:28 UTC by Graham Perrin
Modified: 2018-10-24 09:07 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2018-10-24 00:28:59 UTC
$ man devinfo | tail -n 8
SEE ALSO
     systat(1), devinfo(3), iostat(8), pciconf(8), pnpinfo(8), vmstat(8),
     devclass(9), device(9)

AUTHORS
     Mike Smith <msmith@FreeBSD.org>

FreeBSD 12.0-BETA1             December 21, 2017            FreeBSD 12.0-BETA1
$ man pnpinfo
No manual entry for pnpinfo
$
Comment 1 Conrad Meyer freebsd_committer 2018-10-24 00:38:27 UTC
The line dates to 2002, when the command was initially documented.  It's not clear to me if pnpinfo.8 existed at the time, or not.

MODULE_PNP_INFO(9) is sort of related, although usually we don't Xr straight from section 8 to section 9.
Comment 2 Conrad Meyer freebsd_committer 2018-10-24 00:39:57 UTC
It does not appear there was any bin directory named pnpinfo at the time.  Maybe as a secondary program from some other directory.
Comment 3 Yuri Pankov freebsd_committer 2018-10-24 00:47:47 UTC
It seems it did actually exist back then:

$ git checkout c57dc2b4a808f4a7ef86e2ef7519d4783f2f0fac (that's r96458 where devinfo man page was added)
$ $ find . -name \*pnpinfo\*
./contrib/pnpinfo
./contrib/pnpinfo/pnpinfo.8
./contrib/pnpinfo/pnpinfo.h
./contrib/pnpinfo/pnpinfo.c
./usr.sbin/pnpinfo
Comment 4 Conrad Meyer freebsd_committer 2018-10-24 01:35:47 UTC
Ah, nice find.  I was only looking for '{,usr.}{,s}bin/pnpinfo/pnpinfo.8'.