Table of Contents

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.

Arguments

-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 at sleuthkit dot org>


Table of Contents