Article 5SRHQ Confirming device contains only zeros

Confirming device contains only zeros

by
wdssharp
from LinuxQuestions.org on (#5SRHQ)
I have wiped several hard drives with either dc3dd or dcfldd and would like to check if they are indeed wiped with zeros. I would like to not scroll through page after page of zeros, but only see the first line and any line thereafter with data other than zero. My commands were:
sudo dc3dd hwipe=/dev/sda hash=md5
sudo dcfldd if=/dev/zero of=/dev/sda bs=8k

Would using xxd or hexdump confirm the above?latest?d=yIl2AUoC8zA latest?i=xbjjv1BJzZU:cZRSrlpq_zE:F7zBnMy latest?i=xbjjv1BJzZU:cZRSrlpq_zE:V_sGLiP latest?d=qj6IDK7rITs latest?i=xbjjv1BJzZU:cZRSrlpq_zE:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments