---
name: "disk_stat"
section: "1"
platform: "linux"
package: "sleuthkit"
version: "2.52-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/disk_stat"
---

# disk\_stat(1)

Show the details of a disk - LINUX ONLY

## NAME

disk\_stat - Show the details of a disk - LINUX ONLY

## SYNOPSIS

**disk\_stat \[-V\]** *hd\_device*

## DESCRIPTION

**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

## 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

## 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.

## AUTHOR

Brian Carrier \<carrier@sleuthkit.org\>
