Home
Testing hard disks on Mac OSX
the emergent property seems to be crap
Apple's iDisk network traffic is encrypted
Boneless country ribs, experimental recipe,
Humans, natural organizers to a fault...
All across the changes in six throws.
Political labels, meaningless?
The writing zealot has a new friend, and some silly sentences...
Lily Allen: chirpy brutality. Nice work if you can do it...
Trance, downbeat, brazilian, funk, and jazz? That's a genre?
An obsession with flags
Afraid of "Big Government"?
Curated computing", WTF?
Fire under mountain, PI/Grace
hearts's desire
Finally, sensible thoughts about terrorism from a bomb disposal guy who should know.
On Apostrophes
Who wants an overgrown iPhone?
Christians and creationism.
decision
new rule ... no more throwing bears at people.
Drowning
She was looking for "The Door Into Summer"
..under the right circumstances he could be the baddest motherfucker in the world...
On community...
On time...
On Spelling
The History of Tolerance
Motives
...The tug of the future. The reason you tried...
...political posturing gone horrifically awry.
...and she was determined not to be afraid.
...finite horizons of predictable problems and predictable joys...
...There is only a gradual wearing away of the sharp edges...
Code as literature, the most important element of style
Deconstructing Wall Street Newspeak
Requiem
Fake Steve Jobs, backfiring?
DRM, Denial of Rights Management
Bill O'Reilly, John Edwards, and racial slurs.
The widening economic disparity
Oh man, here comes Rita
Katrina slams New Orleans. Is There Blame?
Apple users have another tempest in our teapot.
Carving up trees as therapy.
If a tree falls in a hurricane, does it make a noise?
Torturing your customers, A Business Model
What! Bean mush again mom?
Automatic poetry on eBay
Flaming on Miami Beach
Cautionary tale
It won't die Jim!
Fresh Timber
More on Music
Almost Worthless Music
E-Commerce
Formalisms, Frames, Footstools
The Opposite of Minimalism
Lots of Photos
Repairing breaks
Beasties
Period influences
Sweat shops and consumer goods
Galloping furniture
Calm Interiors
Ode to Keith Haring
Good junk
Broken chairs
Floors in Florida
Shoji in America
About Ornae

Testing hard disks on Mac OSX · Saturday October 29, 2011

I recently tripped over someone complaining that there was no good tool to test external disks for OSX.

As usual, because OSX is a superset of BSD unix, the tools are built right in; a few minutes with apropos and man gets you all you need to accomplish the task.
We simply want to do a raw sequential read of the device, tossing the results, but detecting any failures. Assuming the device is the second drive mounted, enter the terminal and type:

sudo dd if=/dev/disk1 of=/dev/null bs=1m

This serves to do a nondestructive read of the entire physical device. For details on the command type ‘man dd’ into a terminal window or browser search field: man dd

For a more aggressive data destructive write test use Disk Utility’s secure erase features, either against individual partitions or the whole device.

* * *