Small tweaks to the diskinfo(8) manual page, to make it more consistent

with others.

MFC after:	1 month
This commit is contained in:
Edward Tomasz Napierala 2016-09-22 07:55:07 +00:00
parent b76ce4527b
commit af375c284d

View File

@ -44,35 +44,34 @@ The
utility prints out information about a disk device, utility prints out information about a disk device,
and optionally runs a naive performance test on the device. and optionally runs a naive performance test on the device.
.Pp .Pp
The following options are available:
.Bl -tag -width ".Fl v"
.It Fl v
Print fields one per line with a descriptive comment.
.It Fl c
Perform a simple measurement of the I/O read command overhead.
.It Fl i
Perform a simple IOPS benchmark.
.It Fl t
Perform a simple and rather naive benchmark of the disks seek
and transfer performance.
.El
.Pp
If given no arguments, the output will be a single line per specified device If given no arguments, the output will be a single line per specified device
with the following fields: device name, sectorsize, media size in bytes, with the following fields: device name, sectorsize, media size in bytes,
media size in sectors, stripe size, stripe offset, firmware cylinders, media size in sectors, stripe size, stripe offset, firmware cylinders,
firmware heads, and firmware sectors. firmware heads, and firmware sectors.
The last three fields are only present if the information is available. The last three fields are only present if the information is available.
.Pp
If given the
.Fl v
option, the fields will be printed one per line with a descriptive comment.
.Pp
The
.Fl c
option triggers a simple measurement of the I/O read command overhead.
.Pp
The
.Fl i
option triggers a simple IOPS benchmark.
.Pp
The
.Fl t
option triggers a simple and rather naive benchmark of the disks seek
and transfer performance.
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
command appeared in command appeared in
.Fx 5.1 . .Fx 5.1 .
.Sh AUTHORS .Sh AUTHORS
.An Poul-Henning Kamp The
.Nm
utility was written by
.An Poul-Henning Kamp Aq Mt phk@FreeBSD.org .
.Sh BUGS .Sh BUGS
There are in order of increasing severity: lies, There are in order of increasing severity: lies,
damn lies, statistics, and computer benchmarks. damn lies, statistics, and computer benchmarks.