Open cccxg opened 1 year ago
forget to mention, 0x01
is binary, that is fill the device with 0101010101...
.
The current version doesn't support creating a custom pattern. It's one of those features I want to add and is pretty easy to implement, it's just not high on the priority list coming after ATA secure erase.
Of course if there was a lot of people pushing for this then those priorities would change.
Is there a particular reason you want a custom pattern?
OK, thank. Its just required by the project. I'll find another way.
If you are running linux and can build from source, all you need to do to get a 0x01 pattern is change the zero fill method line 144 from char zerofill[1] = { '\x00' };
to char zerofill[1] = { '\x01' };
Selecting zero fill will then give you the pattern you require. I don't think the verify option will work correctly unless you also change the code in the verify function but at least you would be able to write the drive with that pattern.
Got it. Thank you :)
For example: How can i fills the device with
0x01
?