2009-10-07

Checking removable media for badblocks on Linux

This comes handy when you are flashing firmwares from USB and don't want to take any risk with data corruptions (most firmwares images have checksums or CRCs, but who knows...)

Linux provides a badblock command to do just that. Obviously, this is a DESTRUCTIVE test (all data on your media will be erased without warning), and you'll need to reformat your media afterwards. Oh, and of course the badblocks command is available on the SheevaPlug.
badblocks -t random -svw <your_device>

No comments:

Post a Comment

Note: only a member of this blog may post a comment.