Re:Reverse-engineering and analysis of SanDisk High Enduranc...
by megous on Sunday February 02, 2025 @12:10PM
(#42909947)
Write pseudorandom data to the whole card with a fixed seed.
Read back data and compare against the same pseudorandom data with a same fixed seed.
Or just make a random data file the size of SD card and write/read back compare, if you don't care about having to store the big file and also testing for potential local disk corruption at the same time.
Re:Reverse-engineering and analysis of SanDisk High Enduranc...
by hashier on Sunday February 02, 2025 @04:29PM
(#42912023)
Looks interesting but unfortunately a windows tool. Happen to know a Linux tool?
Re:Reverse-engineering and analysis of SanDisk High Enduranc...
by megous on Sunday February 02, 2025 @05:20PM
(#42912458)
I'd rather use something that works with block device directly, rather than something that depends on the filesystem code and may lead to filesystem corruption and potential for kernel instability. Also it seems like a weird design decision to fill flash with files, when in Linux there's trivial access to block device directly.
It's also possible to write 64bit address of each 8 byte block to every such block, and avoid pseudorandom generator, and potentially have more insight to what happened when the block ends up mapped to unexpected location.
Re:Reverse-engineering and analysis of SanDisk High Enduranc...
by jqpabc123 on Monday February 03, 2025 @03:56AM
(#42916287)
The first thing I do is a simple format and check the formatted capacity.
Cheap, fake cards will often fail this simple basic test.
There are a number of readily available utilities to further test performance and reliability.
You mean a simple reformat with fat? Or what’s in your opinion the best test when getting a new SD card?