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.