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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413494

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to