Shredding
Tools
Snippets
using badblocks on a block-device:
badblocks -v -s -b 4096 -c 256 -w -- /dev/__device__
using dd on a block-device:
dd if=/dev/zero of=/dev/__device__ bs=1M iflag=fullblock conv=notrunc,nocreat,notrunc
using badblocks on a block-device:
badblocks -v -s -b 4096 -c 256 -w -- /dev/__device__
using dd on a block-device:
dd if=/dev/zero of=/dev/__device__ bs=1M iflag=fullblock conv=notrunc,nocreat,notrunc