disk_stat(1)

disk_stat1

Show the details of a disk - linux only

Usage

disk_stat [-V] hd_device

Overview

disk_stat works in only Linux and uses ATA commands to query a harddisk. The important information that it currently gives is the actual number of sectors and if there is a Host Protected Area (HPA) on the disk.

The options are as follows:

-V

Display version

hd_device

The device corresponding to the hard disk. Typically it is /dev/hdX.

Examples

disk_stat /dev/hdd

Limitations

disk_stat works only in Linux and does not support large disks. It will also not work on ATA disks connected with USB or Firewire.

Releases

3 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0–5.0

History

disk_stat first appeared in The Sleuth Kit v1.73.

It is based on code from http://www.win.tue.nl/~aeb/linux/setmax.c

Author

Brian Carrier <[email protected]>

From sleuthkit 2.52-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.