Merge lp:~yuningdodo/usb-creator/usb-creator.lp1300361-format-parent-device-to-erase-correctly into lp:usb-creator
Proposed by
Yu Ning
Status: | Rejected |
---|---|
Rejected by: | Mathieu Trudel-Lapierre |
Proposed branch: | lp:~yuningdodo/usb-creator/usb-creator.lp1300361-format-parent-device-to-erase-correctly |
Merge into: | lp:usb-creator |
Diff against target: |
96 lines (+33/-26) 2 files modified
bin/usb-creator-helper (+26/-26) debian/changelog (+7/-0) |
To merge this branch: | bzr merge lp:~yuningdodo/usb-creator/usb-creator.lp1300361-format-parent-device-to-erase-correctly |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yu Ning (community) | Disapprove | ||
usb-creator hackers | Pending | ||
Review via email: mp+225799@code.launchpad.net |
Description of the change
* usb-creator-helper: Always format the parent device to fix the issue that
usb stick fail to be erased if there is no partition table. (LP: #1300361)
To verify this patch, create an empty usb stick with dd:
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1
Then erase it with usb-creator, the operation should complete successfully. However there is also bug #1318954 that would disturb the erase operation, on my own box I have to modify util-linux to ignore bug #1318954 to verify this patch.
To post a comment you must log in.
I thought that resolution of bug #1318954 would be sufficient.
From reading below, I'm not sure we are not going to regress the following past regression:
given a usb-stick with two partitions, formatting one of the partitions, should preserve all data on the other partition.
Will test that when I get my hands on a usb-stick tomorrow.
Thanks for this patch.