Difference between revisions of "Disk stat"

From SleuthKitWiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==disk_stat==
 
==disk_stat==
Version 2.09
 
 
 
Back to [[Help Documents]]
 
Back to [[Help Documents]]
  
===Purpose===
+
disk_stat was a Linux-only tool that uses ATA commands to query an ATA disk to determine if it has a Host Protected Area (HPA).  
Show the details of a disk - '''''LINUX ONLY'''''
+
This tool was removed from TSKUse hdparam instead.  
<br />disk_stat  works  in  only Linux and uses ATA commands to query a hard-disk.  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.
+
 
+
===Usage===
+
disk_stat [-V] hd_device
+
 
+
===Options===
+
 
+
{| border="1" cellpadding="5"
+
!Switch
+
|Purpose
+
|-
+
| -V
+
|Display version
+
|-
+
| hd_device
+
|The device corresponding to the  hard  disk.  Typically it is /dev/hdX.
+
|}
+
 
+
===Example===
+
disk_stat /dev/hdd
+
 
+
===History===
+
disk_stat first appeared in The Sleuth Kit v1.73.
+
<br />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 not work on ATA disks connected with USB or Firewire.
+
  
===Author===
+
* [http://www.sleuthkit.org/informer/sleuthkit-informer-17.html#hpa Sleuth Kit Informer #17]
Brian Carrier <carrier@sleuthkit.org>
+
* [http://www.sleuthkit.org/sleuthkit/man/disk_stat.html Automatically Updated man Page]

Latest revision as of 19:14, 27 October 2010

disk_stat

Back to Help Documents

disk_stat was a Linux-only tool that uses ATA commands to query an ATA disk to determine if it has a Host Protected Area (HPA). This tool was removed from TSK. Use hdparam instead.