disk_sreset(1)

disk_sreset1

Temporarily reset the size of an ata disk - linux only

Usage

disk_sreset [-V] hd_device

Overview

disk_sreset works in only Linux and uses ATA commands to query a harddisk. 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:

-V

Display version

hd_device

The device corresponding to the hard disk. Typically it is /dev/hdX.

Examples

disk_sreset /dev/hdd

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.

Releases

3 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0–5.0

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

Author

Brian Carrier <[email protected]>

From sleuthkit 2.52-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.