martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
688 stars 79 forks source link

HPA_DCO_002 - Add HPA, DCO capability #442

Closed PartialVolume closed 1 year ago

PartialVolume commented 1 year ago
  1. Further work was completed, putting the HPA status and HPA size into the report/certificate.

  2. Moved some general functions that may be used throughout nwipe into miscellaneous.c These tend to be string processing functions.

  3. Tested certificate HPA status. There are three possible states of the HPA i. Enabled and HPA size is displayed on the certificate ii. Disabled, the drive reports it's real size to the O.S. iii. Unknown. Nwipe could not determine whether there is a HPA or not. This may be caused by the use of a USB adapter or could be a bad drive, or finally a change in hdparms format when displaying HPA information.

More code to follow, next on the list is to add the HPA status into the drive selection screen in the GUI, so when you select the drive you can see the status of HPA and choose to disable it.