[Bug 484252] Re: Format action wipes all partitions
Gary M
484252 at bugs.launchpad.net
Fri Aug 3 04:20:42 UTC 2012
precise-proposed results, tested with a 4GB USB stick having two partitions :
1. Button and subsequent warning both refer st to erasing the disk, not the partition.
2. If partitions are not mounted, they are not shown individually, instead I just see the whole stick.
3. If partitions are mounted, they are each shown, but pressing the erase button just caused the selected partition to be unmounted. I expected the partition to be formatted or deleted.
4. If neither partiton is selected, the erase button is still enabled. I expected it to be disabled until a partition was selected.
Compounding the inconsistency, I also received the error message
"org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible
causes include: the remote application did not send a reply, the message
bus security policy blocked the reply, the reply timeout expired, or the
network connection was broken.". But this time no error was shown in the
log.
** Tags removed: verification-needed
** Tags added: verification-failed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/484252
Title:
Format action wipes all partitions
Status in “usb-creator” package in Ubuntu:
Fix Released
Status in “usb-creator” source package in Precise:
Fix Committed
Bug description:
[rational]
"Erase Disk" action formats *all* partitions, instead of the selected partition only.
[test case]
1) Start usb creator
2) Select an individual partition
3) Click on erase/format
4) Check that the other partitions haven't been touched
[regression potential]
The fix has been in quantal for a while and peer reviewed before that, this fix leads to quite a bit of code being moved around but still limited to the erase/formatting code.
As it's code doing drive formatting, regressions can be pretty nasty with potential dataloss, though I can't find any indication that it'd affect another block device than that selected and so the worst case scenario I can see is basically what we currently have in precise (wiping a partition wipes the whole drive).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/484252/+subscriptions
More information about the foundations-bugs
mailing list