Interesting theory, but not valid with the programming model I have written. The program is written to read a block from the file and compare to the same block on the device. With this method, theoretically, a 1G image written to a 128G device will still verify successfully.
I belive there is some other mechanism im play here that writes an unknown quantity of bits after the write operation has completed (short of physical removal, the program has exclusive control of the device during read/write operations).
What I need to do to help narrow this down is to first reproduce it (need hardware), then manually compare the failing area with a hex editor.
---
** [tickets:#50] Verify only button does not work properly**
**Status:** open
**Release:** 1.0
**Created:** Fri Apr 21, 2017 04:51 AM UTC by Wyzak
**Last Updated:** Fri May 19, 2017 05:37 AM UTC
**Owner:** Tobin Davis
Hi there,
I'm writing an almost 8GB image to an 8GB SD card. After writing completes, I click on Verify Only - and it fails with: Verify Failure - 1.0 Verification failed at sector: 6144. I've tried this three times. Twice on the same SD and then on another SD and all three failed on 6144. It fails instantly as well - which makes me wonder if it even tries. I tried toggling "Read Only Allocated Partitions" as well. One SD is Transcend and the other one is Sandisk.
I then read the files from both SD cards, and used Total Commander to diff them. The two SD card images differ from each other and differ from the original image.
I've now tried it on a third SD card. Which when I read it only difference right at the end and differs with zeros and nothingness. So actually looks very similar. But this one also fails on sector 6144 immediately.
---
Sent from sourceforge.net because win...@li... is subscribed to https://sourceforge.net/p/win32diskimager/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/win32diskimager/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |