UI violates Ubuntu's unit policy

Bug #1081219 reported by David D Lowe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
system-config-lvm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When creating a new logical volume in system-config-lvm, the user can choose between the following units:

"Extents", "Gigabytes", "Megabytes", "Kilobytes".

By "Gigabytes", system-config-lvm actually means gibibytes, and so on for the other units.

This is a violation of Ubuntu's unit policy:

https://wiki.ubuntu.com/UnitsPolicy

What I expected:

- Either 10 based units (such as GB) or 2 based units (such as GiB) to be used.
- The option of using "Bytes", so I can specify the volume size precisely without any ambiguity.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: system-config-lvm 1.1.16-1ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Nov 20 17:20:48 2012
MarkForUpload: True
PackageArchitecture: all
SourcePackage: system-config-lvm
UpgradeStatus: Upgraded to quantal on 2012-10-18 (32 days ago)

Revision history for this message
David D Lowe (flimm) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you for your report. Are you concerned only with the shorthands or are you suggesting that when spelt out Gibibyte be used instead of Gigabyte?

Changed in system-config-lvm (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
Revision history for this message
David D Lowe (flimm) wrote :

It should conform to Ubuntu's policy, which specifies the meanings of both the longhand and the shorthand.

Wherever "gigabyte" or "GB" is displayed, that should mean 1000000000 bytes, wherever "GiB" or "gibibyte" is displayed, that should mean 1073741824 bytes.

Changed in system-config-lvm (Ubuntu):
status: Incomplete → New
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thank you for the reply. I'm all for consistency and correct use of terms. In this case though, while technically correct, I find Gibibytes a bit ridiculous. I'm quite technical but I had to google for the exact meaning. For usability reasons, I'd cast my vote not to use that term. I agree that the correct abbreviations GiB and GB should be used where applicable. In any case, it's not my decision to make.

Changed in system-config-lvm (Ubuntu):
assignee: Rolf Leggewie (r0lf) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-lvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel U. Thibault (daniel-thibault) wrote :

Rolf Leggewie seems to be in the same camp as Theodore Ts'o, author of the infamous resize2fs man pages. Where Theodore also finds the IEC/IEEE terminology "ridiculous", he at least spells out what units resize2fs does use. Not so with system-config-lvm and its command-line counterparts (lvreduce and others).

Getting the file system and logical volume extents wrong because the units are poorly explained in the man pages or the GUI can cause entire partitions to be lost. That's not "ridiculous", it's tragic.

I'm firmly with David D. Lowe on this issue: stick to IEC/IEEE terminology, and spell it out in the man pages and the GUI, like the Disk Utility (palimpsest) does.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.