Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

Hardware • Re: testing an USB-flash-stick 32 GB with the command "badblocks"

$
0
0
Hello,

Code:

sudo badblocks -wsv /dev/sdd
You asked for -w option
-w Use write-mode test. With this option, badblocks scans for bad blocks by writing some patterns (0xaa, 0x55, 0xff, 0x00) on every block of the device, reading every block and comparing
the contents.
In your case this means 12927936 * 4 (0xaa, 0x55, 0xff, 0x00) * 2 (write, read)
Note: you asked almost the same question before, remember? :wink:

Statistics: Posted by fabien — 2024-03-26 20:39



Viewing all articles
Browse latest Browse all 4056

Trending Articles