[Bug 1413494] Re: Free partition space isn't correctly updated after erasing

Yu Ning ning.yu at canonical.com
Thu Feb 19 04:00:18 UTC 2015


Brian, thanks for the review, here is the declaration of unmount_all():

def unmount_all(udisks, parent):
    '''Unmounts the device or any partitions of the device.'''

As you can see the last param is expected to be parent, and in my test
if we pass "dev" to it it can't unmount properly, so I think this may be
a typo of "parent_dev".

BTW, let me propose a merge request with this patch for better
reviewing.

-- 
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/1413494

Title:
  Free partition space isn't correctly updated after erasing

Status in usb-creator package in Ubuntu:
  New

Bug description:
  1) The release of Ubuntu you are using, via 'lsb_release -rd' or
  System -> About Ubuntu

  Ubuntu 14.04

  2) The version of the package you are using, via 'apt-cache policy
  pkgname' or by checking in Software Center

  usb-creator 0.2.56.3

  3) What you expected to happen

  First prepare an usbstick dd'ed with zero (dd if=/dev/zero of=/dev/SDB
  bs=1M count=1), then erase it with usb-creator-gtk.

  After the erasing it should display the free partition space
  correctly, which is usually the same value with the usbstick capacity.

  4) What happened instead

  After the erasing it just display the free space as an empty string
  "", and we can't burn them selected source ISO in such a case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1413494/+subscriptions



More information about the foundations-bugs mailing list