[Bug 484252] Re: Format action wipes all partitions

Stéphane Graber stgraber at stgraber.org
Thu Jul 26 15:48:47 UTC 2012


** Changed in: usb-creator (Ubuntu Precise)
       Status: Triaged => In Progress

** Description changed:

- "Erase Disk" action formats *all* partitions, instead of the selected
- partition only.
+ [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).

-- 
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:
  In Progress

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