Difference between revisions of "Disk sreset"

From SleuthKitWiki
Jump to: navigation, search
(New page: Version 2.09 Man Page NAME disk_sreset - Temporarily reset the size of an ATA disk - LINUX ONLY SYNOPSIS disk_sreset [-V] hd_device DESCRIPTION disk_sreset works ...)
 
m
Line 1: Line 1:
 +
==disk_sreset==
 +
Version 2.09
 +
Temporarily reset the size of an ATA disk - '''''LINUX ONLY'''''
  
Version 2.09 Man Page
+
===Usage===
 +
disk_sreset [-V] hd_device
  
NAME
+
===Description===
      disk_sreset - Temporarily reset the size of an ATA disk - LINUX ONLY
+
disk_sreset works in only Linux and uses ATA commands to query a hard-disk.  If there is a Host Protected Area, then it  temporarily  removes it so that the full disk can be acquired.  When the disk is powered off or reset, then the HPA will exist again.
  
SYNOPSIS
+
===Options===
      disk_sreset [-V] hd_device
+
{| border="1" cellpadding="5"
 +
!Switch
 +
!Effect
 +
|-
 +
| -V  
 +
|Display version
 +
|-
 +
| hd_device  
 +
|The device corresponding to the  hard  disk.  Typically  it  is /dev/hdX.
 +
|}
  
DESCRIPTION
+
===Example===
      disk_sreset works in only Linux and uses ATA commands to query a hard-
+
disk_sreset /dev/hdd
      disk.  If there is a Host Protected Area, then it  temporarily  removes
+
      it so that the full disk can be acquired.  When the disk is powered off
+
      or reset, then the HPA will exist again.
+
  
      The options are as follows:
+
===History===
 +
disk_sreset first appeared in The Sleuth Kit v2.00.
 +
It is based on code from http://www.win.tue.nl/~aeb/linux/setmax.c
  
      -V    Display version
+
===Limitations===
 +
disk_sreset  works  only in Linux and does not support large disks.  It will also not work on ATA disks connected with USB or Firewire.
  
      hd_device
+
===Author===
              The device corresponding to the  hard  disk.  Typically  it  is
+
Brian Carrier <carrier@sleuthkit.org>
              /dev/hdX.
+
 
+
EXAMPLES
+
      disk_sreset /dev/hdd
+
 
+
HISTORY
+
      disk_sreset first appeared in The Sleuth Kit v2.00.
+
 
+
      It is based on code from http://www.win.tue.nl/~aeb/linux/setmax.c
+
 
+
LIMITATIONS
+
      disk_sreset  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 11:45, 17 November 2007

disk_sreset

Version 2.09 Temporarily reset the size of an ATA disk - LINUX ONLY

Usage

disk_sreset [-V] hd_device

Description

disk_sreset works in only Linux and uses ATA commands to query a hard-disk. If there is a Host Protected Area, then it temporarily removes it so that the full disk can be acquired. When the disk is powered off or reset, then the HPA will exist again.

Options

Switch Effect
-V Display version
hd_device The device corresponding to the hard disk. Typically it is /dev/hdX.

Example

disk_sreset /dev/hdd

History

disk_sreset first appeared in The Sleuth Kit v2.00. It is based on code from http://www.win.tue.nl/~aeb/linux/setmax.c

Limitations

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