Xin LI
f5d62d03ad
Don't consider ioctl returning error as a fatal error and move on to next
...
disk. When multiple devices are specified, a non-supporting ioctl will
cause diskinfo(8) to stop at the point which does not seem to be necessary.
Ok'ed by: phk
MFC after: 1 month
2011-02-08 11:32:22 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Alexander Motin
851b967a27
Make diskinfo report disk stripe size and offset. It should help users to
...
make file systems optimally aligned and tuned for better performance.
2009-12-24 21:39:30 +00:00
Pawel Jakub Dawidek
18e5fe2840
Don't bother obtaining the ident if we are not going to print it.
2009-09-03 22:19:09 +00:00
Pawel Jakub Dawidek
c5791aae52
Print provider's ident when in verbose mode.
2007-05-06 00:25:21 +00:00
Ruslan Ermilov
59a3c79da6
Sort sections.
2005-01-18 20:02:45 +00:00
Ruslan Ermilov
9046f8cd17
Add -c to SYNOPSIS and usage().
2005-01-11 10:53:09 +00:00
Søren Schmidt
6a33b3c60b
Add -c option that calculates the overhead of read I/O ops.
2004-11-09 12:28:41 +00:00
Pawel Jakub Dawidek
8a4979c259
Actually negative size is possible for file system, but not for disk.
2004-05-25 12:11:13 +00:00
Pawel Jakub Dawidek
991d64ece8
In verbose mode print disk sizes in human readable form as well.
...
OK'ed by: phk
2004-05-24 22:52:32 +00:00
Poul-Henning Kamp
cbf67506f6
Make WARNS=5 clean.
...
Prodded by: Stefan Farfeleder <stefan@fafoe.narf.at>
2004-04-05 08:15:04 +00:00
Ruslan Ermilov
9137d52af5
Sync manpage's synopsis with usage().
2004-03-30 07:37:04 +00:00
Ruslan Ermilov
a388918d35
Assorted mdoc(7) fixes.
2003-05-31 18:07:09 +00:00
Gordon Tetlow
a885db9a13
Correct a type in the bugs section. Also turn it into a list.
...
Approved by: re(murray)
2003-05-11 22:22:10 +00:00
Poul-Henning Kamp
b8c2d40de1
I forgot a rather crucial cast when I made this sectorsize agnostic.
...
Tune iteration counts a bit.
2003-04-09 14:25:04 +00:00
Poul-Henning Kamp
a362eb6374
Diskinfo is a small program to access the basic properties of a disk device:
...
sectorsize, mediasize etc.
It also contains a small and naïve benchmark which reports on seek
and transfer performance.
2003-04-09 10:52:10 +00:00