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.