Bug 232587 - devinfo.8 contains undefined reference to pnpinfo.8
Summary: devinfo.8 contains undefined reference to pnpinfo.8
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Guangyuan Yang
Keywords: easy, patch
Depends on:
Reported: 2018-10-24 00:28 UTC by Graham Perrin
Modified: 2021-10-01 07:06 UTC (History)
6 users (show)

See Also:

devinfo(8) patch (343 bytes, patch)
2021-09-20 03:41 UTC, Felix Johnson
no flags Details | Diff

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
     systat(1), devinfo(3), iostat(8), pciconf(8), pnpinfo(8), vmstat(8),
     devclass(9), device(9)

     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\*
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'.
Comment 5 Felix Johnson freebsd_triage 2021-09-20 03:41:52 UTC
Created attachment 228038 [details]
devinfo(8) patch

Remove cross-reference to pnpinfo(8).