Difference between revisions of "Disk stat"

From SleuthKitWiki
Jump to: navigation, search
(New page: Version 2.09 Man Page 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 us...)
 
m (Formatting)
Line 1: Line 1:
Version 2.09 Man Page
+
==disk_stat==
 +
Version 2.09
  
NAME
+
===Purpose===
      disk_stat - Show the details of a disk - LINUX ONLY
+
Show the details of a disk - '''''LINUX ONLY'''''
 +
<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.
  
SYNOPSIS
+
===Usage===
      disk_stat [-V] hd_device
+
disk_stat [-V] hd_device
  
DESCRIPTION
+
===Options===
      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.
+
  
      The options are as follows:
+
{| border="1" cellpadding="5"
 +
!Switch
 +
|Purpose
 +
|-
 +
| -V
 +
|Display version
 +
|-
 +
| hd_device
 +
|The device corresponding to the  hard  disk.  Typically it is /dev/hdX.
 +
|}
  
      -V    Display version
+
===Example===
 +
disk_stat /dev/hdd
  
      hd_device
+
===History===
              The device corresponding to the  hard  disk.   Typically  it  is
+
disk_stat first appeared in The Sleuth Kit v1.73.
              /dev/hdX.
+
<br />It is based on code from http://www.win.tue.nl/~aeb/linux/setmax.c
  
EXAMPLES
+
===Limitations===
      disk_stat /dev/hdd
+
disk_stat works  only  in  Linux and does not support large disks.  It will not work on ATA disks connected with USB or Firewire.
  
HISTORY
+
===Author===
      disk_stat first appeared in The Sleuth Kit v1.73.
+
Brian Carrier <carrier@sleuthkit.org>
 
+
      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>
+

Revision as of 12:52, 17 November 2007

disk_stat

Version 2.09

Purpose

Show the details of a disk - LINUX ONLY
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

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

Brian Carrier <carrier@sleuthkit.org>