[Bug 1218702] Re: ubiquity resizes partition even when not asked to.

codeslinger codeslinger at compsalot.com
Mon Mar 31 04:49:27 UTC 2014


comment copied from "dup"  bug 1164783

The only proper way to decide if a resize is needed is to compare the
original value that was placed into the Change dialog, to the value that
was returned from the dialog. This comparision must be preformed on the
numeric value so as to avoid getting confused by leading zeros and space
characters etc. Only if the values are different should the resize
action be invoked.

Furthermore it may make sense to limit it to some minmum threshold, does
it really make sense to resize a partition by less than N megs? Anything
less than 100 megs is probably a mistake.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1218702

Title:
  ubiquity resizes partition even when not asked to.

Status in “ubiquity” package in Ubuntu:
  Triaged
Status in “ubiquity” source package in Saucy:
  Confirmed

Bug description:
  Choose "Something else" at install options, select a partition change
  the FS to ext4, select format, set partition to be /. Do not change
  the size.... size gets changed anyway, ( I lost 8M)

  I think what is happening is that ubuiquity reads the partition size
  and displays it in Mb. It is rounded or truncated to make it fit the
  display. the user doesn't change it, but the size never was the same
  as the original partition and so the partition gets resized.

  What should happen is that if the given size is the same as before and
  after no resize should happen. That is ubiquity should compare what
  the user enters with a recalc for display rather than comparing with
  the actual size to determine if the size is actually changed.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ubiquity 2.15.15
  ProcVersionSignature: Ubuntu 3.11.0-2.1-lowlatency 3.11.0-rc5
  Uname: Linux 3.11.0-2-lowlatency x86_64
  ApportVersion: 2.12.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.336
  Date: Thu Aug 29 19:34:04 2013
  InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntustudio.seed boot=casper initrd=/casper/initrd.lz quiet splash --
  LiveMediaBuild: Ubuntu-Studio 13.10 "Saucy Salamander" - Alpha amd64 (20130829)
  MarkForUpload: True
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1218702/+subscriptions



More information about the foundations-bugs mailing list