NHellFire / dban

Unofficial fork of DBAN.
GNU General Public License v2.0
111 stars 18 forks source link

Add option to wipe HPA and DCO #14

Open ChickNrippR opened 9 years ago

ChickNrippR commented 9 years ago

Regarding BSI the Host/Hidden Protected Area nor Device Configuration Overlay aren't wiped by default.

It seems that dban should be started with parameters like

------------------------
dban libata.ignore_hpa=1
------------------------

to be ready to really eliminate the whole data on our magnetic disks.

Can someone confirm it? It would be cutting edge to add this feature to enrich dban be much more than just the tool of home data destruction!

Thanks in advance!

NHellFire commented 8 years ago

Somehow I missed the notification for this.

According to the kernel docs, libata.ignore_hpa=1 should allow dban to destroy the data in there (but would not remove the HPA). I'd probably need to look at adding a function to the wipe menu to disable the HPA, then do DCO reset.