summaryrefslogtreecommitdiff
path: root/usr.sbin/diskinfo
Commit message (Collapse)AuthorAgeFilesLines
* MFC r241844:Eitan Adler2012-11-041-1/+1
| | | | | | | | | remove duplicate semicolons where possible. Approved by: cperciva (implicit) Notes: svn path=/stable/8/; revision=242543
* MFC r224250:Alexander Motin2011-07-291-21/+28
| | | | | | | | Fix `diskinfo -t` operation for disks smaller then 8GB or bigger then 2TB. Tested to work with 1.44MB floppy, 4GB USB stick and 4TB disk array. Notes: svn path=/stable/8/; revision=224491
* MFC r218432:Xin LI2011-03-101-8/+18
| | | | | | | | | 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. Notes: svn path=/stable/8/; revision=219440
* MFC 200968:Alexander Motin2010-01-052-2/+13
| | | | | | | | Make diskinfo report disk stripe size and offset. It should help users to make file systems optimally aligned and tuned for better performance. Notes: svn path=/stable/8/; revision=201585
* MFC r196799:Alexander Motin2010-01-051-4/+1
| | | | | | | Don't bother obtaining the ident if we are not going to print it. Notes: svn path=/stable/8/; revision=201584
* Print provider's ident when in verbose mode.Pawel Jakub Dawidek2007-05-061-1/+6
| | | | Notes: svn path=/head/; revision=169296
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140442
* Add -c to SYNOPSIS and usage().Ruslan Ermilov2005-01-112-3/+3
| | | | Notes: svn path=/head/; revision=140058
* Add -c option that calculates the overhead of read I/O ops.Søren Schmidt2004-11-092-2/+48
| | | | Notes: svn path=/head/; revision=137456
* Actually negative size is possible for file system, but not for disk.Pawel Jakub Dawidek2004-05-251-2/+1
| | | | Notes: svn path=/head/; revision=129712
* In verbose mode print disk sizes in human readable form as well.Pawel Jakub Dawidek2004-05-242-2/+9
| | | | | | | OK'ed by: phk Notes: svn path=/head/; revision=129679
* Make WARNS=5 clean.Poul-Henning Kamp2004-04-052-6/+9
| | | | | | | Prodded by: Stefan Farfeleder <stefan@fafoe.narf.at> Notes: svn path=/head/; revision=127884
* Sync manpage's synopsis with usage().Ruslan Ermilov2004-03-302-3/+5
| | | | Notes: svn path=/head/; revision=127610
* Assorted mdoc(7) fixes.Ruslan Ermilov2003-05-311-7/+8
| | | | Notes: svn path=/head/; revision=115472
* Correct a type in the bugs section. Also turn it into a list.Gordon Tetlow2003-05-111-2/+2
| | | | | | | Approved by: re(murray) Notes: svn path=/head/; revision=114916
* I forgot a rather crucial cast when I made this sectorsize agnostic.Poul-Henning Kamp2003-04-091-12/+12
| | | | | | | Tune iteration counts a bit. Notes: svn path=/head/; revision=113295
* Diskinfo is a small program to access the basic properties of a disk device:Poul-Henning Kamp2003-04-093-0/+383
sectorsize, mediasize etc. It also contains a small and naïve benchmark which reports on seek and transfer performance. Notes: svn path=/head/; revision=113287