Disk sreset

From SleuthKitWiki
Revision as of 16:07, 17 November 2007 by Dhawkins (Talk | contribs)

Jump to: navigation, search

Back to Help Documents

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>