Hacker News new | ask | show | jobs
by Superfud 108 days ago
ddrescue can read from /dev/urandom and write to any device. This can come in handy when you have a device with bad blocks but still would like to "shred" all the still writable parts of.
1 comments

there's no point in writing actual random data - you won't be able to check correctness without another copy