usb-creator should drop cache before verifying md5sums
Bug #588348 reported by
Graham Inggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: usb-creator
I ran into a problem using usb-creator-gtk to create a live USB disk. I first created the disk on a machine with 4GB RAM without error, but the resultant USB disk would not boot. I then tried creating the USB disk on a machine with only 1GB RAM and received the message that the md5sums did not match.
After some experimenting and running md5sum manually I discovered the USB disk had a few bad blocks which do not report read or write errors when accessed. Dropping the filesystem cache or unmounting and mounting the target disk again before checking the md5sums should detect this kind of failure.
Hello Graham,
The Disk utility (palimpsest) tool is able scan disks and report if you disk is damaged. You can scan your disks using this tool to verify that your media has no bad blocks. Unfortunately, I do not see this as a bug in usb-creator.
Could you please provide the method you use to manually clear filesystem cache and propose what you would like to see usb-creator do in the future. The current process is to format the disk which unmounts it, formats it as FAT32, and mounts it. I am not sure why you would be requesting that usb-creator should do this when it seems to be what it already does.