---
name: "disk_sreset"
section: "1"
platform: "linux"
package: "sleuthkit"
version: "2.52-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/disk_sreset"
---

# disk\_sreset(1)

Temporarily reset the size of an ATA disk - LINUX ONLY

## NAME

disk\_sreset - Temporarily reset the size of an ATA disk - LINUX ONLY

## SYNOPSIS

**disk\_sreset \[-V\]** *hd\_device*

## DESCRIPTION

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

## 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\>
