logoalt Hacker News

fhdkweigtoday at 5:36 PM1 replyview on HN

I haven't used badblocks https://en.wikipedia.org/wiki/Badblocks in about 10 years, but I was annoyed that this exact feature wasn't available for testing accidental swapping of block locations. badblocks only writes the same data to each block and thus they are all indistinguishable.


Replies

champtartoday at 8:50 PM

TIL `badblocks -t random` repeats the same random block over and over :(

show 1 reply