[Bug 1413494] Re: Free partition space isn't correctly updated after erasing
Yu Ning
ning.yu at canonical.com
Thu Jan 22 07:26:24 UTC 2015
I checked the source code and found usb-creator can only calculate the
free space for a mounted partition, however the newly formated partition
isn't mounted.
So to fix the issue we could mount it automatically after the formating.
In the attached patch this job is done in the dbus method Format() in
usb-creator-helper. In my own test it works fine.
** Patch added: "auto-mount-after-format.patch"
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1413494/+attachment/4303499/+files/auto-mount-after-format.patch
--
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