Commit Graph

16 Commits

Author SHA1 Message Date
Warner Losh
5c19fabbe3 devinfo: xref devctl
devctl has ways to get the different locator's paths to devices, while
devinfo does not. xref devctl in devinfo(8) as a hint.

Sponsored by:		Netflix
2022-07-05 15:15:08 -06:00
Felix Johnson
dde6071adc devinfo(8): Remove cross-reference to pnpinfo(8)
devinfo(8) manpage contains reference to pnpinfo(8) which existed at the
time. Remove it.

PR:		232587
MFC:		3 days
Reported by:	Graham Perrin <grahamperrin@gmail.com>
2021-11-01 12:29:12 -04:00
Warner Losh
b68de8941f When -v is specified with -p dev, print the same verbose output as
when listing the whole tree. The list, however, is from the requested
device to the root (so it backwards from the normal tree).

Sponsored by: Netflix
2017-12-21 19:19:43 +00:00
Warner Losh
3ca6eb9faf Fix markup and bump .Dd. 2017-12-21 18:58:14 +00:00
Warner Losh
3386009737 Implement "-p dev" to print the path to the given device back to the
nexus. With redirection, could also be used to test if the device
exists in the device tree.

Sponsored by: Netflix
2017-12-21 18:51:47 +00:00
Baptiste Daroussin
01c2b8ac0d use .Mt to mark up email addresses consistently (part2)
PR:		191174
Submitted by:	Franco Fichtner  <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Ulrich Spörlein
aa12cea2cc mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
2010-04-14 19:08:06 +00:00
Ruslan Ermilov
d20241a618 Sync usage() and SYNOPSIS. 2006-09-29 16:46:01 +00:00
Joseph Koshy
8fa1d32e68 Follow the rules for the .Dd macro use: use unabbreviated month names.
Submitted by:	ru
2005-11-28 13:51:36 +00:00
Joseph Koshy
72eb2563d6 Use a separate synopsis line for -u as devinfo will ignore other
options when -u is specified.  Xref device(9) and devclass(9).
2005-11-28 01:33:19 +00:00
Warner Losh
7f156483af o Don't print devices that aren't attached unless run with the newly
minted -v flag.
o Print devices that don't return a name as 'unknown' in -v mode.

# Yea!  Now I wont think I have 10 different ISA network adapters in my
# laptop.
2002-09-20 02:26:58 +00:00
Giorgos Keramidas
f1c746bb3f Typo fix: syste -> system 2002-05-31 01:46:26 +00:00
Ruslan Ermilov
4e71fd98ee mdoc(7) police: Make this look like an average manpage. 2002-05-30 14:26:02 +00:00
Giorgos Keramidas
e4e67dfec7 o Uncapitalize .Nd macro arguments and remove punctuation
o  Minor grammar fixes.
o  Sort SEE ALSO references, and add iostat(8).
o  Delete punctuation at end of AUTHORS' section only line

Reviewed by:	rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:40:07 +00:00
Giorgos Keramidas
1a6b42c84b Remove EOL space.
This is a whitespace only change.

Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:37:46 +00:00
Robert Watson
11e4779e45 Add a man page for the devinfo command; I'd argue devinfo is the single
most useful new command added to FreeBSD 5.0, but maybe that's just
me :-).

Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-12 14:23:15 +00:00