MediaWriter
MediaWriter copied to clipboard
A failure in writing is reported as success (!!)
I intentionally corrupted the written image during the writing process. I expected FMW to tell me that the writing process failed. Instead, it said that everything is fine and the image was successfully written!
Reproducer:
- Start writing some image to a flash drive
- After a few seconds of writing, use
dd
to write 10MB of zeroes at the beginning of the drive (sudo dd if=/dev/zero of=DEVICE bs=10M count=1
) - Wait for the FMW writing to complete
- See that the verification step ends immediately
- See that you're reported a success
The only thing that FMW prints into console during the relevant phase is this:
W@75686ms: Couldn't send a notification: "org.freedesktop.DBus.Error.ServiceUnknown" - "org.freedesktop.DBus.Error.ServiceUnknown"
(I'm using a Flatpak version)
FMW 4.2 has the same issue.