FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

diskinfo - get information about disk device



      diskinfo - get information about disk device


      diskinfo [-ctv] disk ...


      The diskinfo utility prints out information about a disk device, and
      optionally runs a naive performance test on the 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, media size in sectors, firmware cylinders, firmware heads, and
      firmware sectors.  The last three fields are only present if the informa‐
      tion is available.
      If given the -v option, the fields will be printed one per line with a
      descriptive comment.
      The -c option triggers a simple measurement of the I/O read command over‐
      The -t option triggers a simple and rather naive benchmark of the disks
      seek and transfer performance.


      The diskinfo command appeared in FreeBSD 5.1.


      Poul-Henning Kamp


      There are in order of increasing severity: lies, damn lies, statistics,
      and computer benchmarks.


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.