TinyApps.Org
Small is beautiful


 HOME

  0. Internet
  1. Text
  2. Graphics
  3. System
  4. File
  5. Misc
  6. Palm
  7. OS X

 BLOG

 DOCS

 FAQ

 RSS (?)





Verify disk wipe #
After zero-filling a disk, verify with hexdump or md5sum and All-Zero Hash Calculator. On a 2.5" 500GB SATA drive, both hexdump and md5sum took 144m16s to run.

hexdump:
   $ hexdump /dev/sda
   0000000 0000 0000 0000 0000 0000 0000 0000 0000
   *
   7470c06000
7470c06000 hex = 500107862016 decimal, which is the number of bytes on disk.

md5sum and All-Zero Hash Calculator:
   $ md5sum /dev/sda
   91564846bfd6055945b31bbd831378a7
You'll need the number of bytes or sectors (the latter may be listed on the drive sticker as LBA) to verify the hash:
   $ fdisk -l /dev/sda
   Disk /dev/sda: 500.1 GB,  500107862016 bytes
   $ testdisk /dev/sda
   Proceed > None > Advanced > Size in sectors
                                976773168

/nix | Jan 29, 2012



Categories
/blosxom
/eink
/mac
/misc
/nix
/palm
/windows

Blosxom Archive
2012: 5 4 3 2 1
2011: 12 11 10 9 8 7 6 5 4 3 2 1
2010: 12 11 10 9 8 7 6 5 4 3 2 1
2009: 12 11 10 9 8 7 6 5 4 3 2 1
2008: 12 11 10 9 8 7 6 5 4 3 2 1
2007: 12 11 10 9 8 7 6 5 4 3 2 1
2006: 12 11 10 9 8 7 6 5 4 3 2 1
2005: 12 11 10

Blogger Archive
2005: 10 9 8 7 6 5 4 3 2 1
2004: 12 11 10 9 8 7 6 5 4 3 2 1
2003: 12 11 10 9 8 7 6

Ezine Archive
2004: 4 3 2 1
2003: 12 9 8 7 6 5 4 2 1
2002: 12 10 9 8 7 6 5 3 2 1
2001: 12 11 10