Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-08-23 Thread Holger Wansing
Hi,

Holger Wansing  wrote (Wed, 16 Aug 2023 19:40:38 +0200):
> Hi,
> 
> Thorsten Glaser  wrote (Fri, 28 Jul 2023 19:53:52 + 
> (UTC)):
> > Holger Wansing dixit:
> > 
> > >>Could this information (valid unit sufficēs) be added to the dialogue
> > >>where the size is entered? Screen space should suffice.
> > >
> > >Yes, I already thought about if changing the template would make sense 
> > >here.
> > 
> > Thanks!
> 
> Just pushed (to partman-partitioning, partman-auto-lvm and partman-lvm).

And uploaded:
- partman-partitioning 148
- partman-auto-lvm 92
- partman-lvm 147


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-08-16 Thread Holger Wansing
Hi,

Thorsten Glaser  wrote (Fri, 28 Jul 2023 19:53:52 + (UTC)):
> Holger Wansing dixit:
> 
> >>Could this information (valid unit sufficēs) be added to the dialogue
> >>where the size is entered? Screen space should suffice.
> >
> >Yes, I already thought about if changing the template would make sense here.
> 
> Thanks!

Just pushed (to partman-partitioning, partman-auto-lvm and partman-lvm).


> Could we also get the size output in both formats? I realise that
> will most likely not be a change as simple…


Holger

-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-08-13 Thread Holger Wansing
Hi,

Am 13. August 2023 10:46:50 MESZ schrieb Richard Lewis 
:
>Holger Wansing  writes:
>
> (Terabytes), 10TiB (Tebibytes). The default unit is Megabytes.
> ^^
>
>I wonder if this last word is a typo and should say Gigabytes? (if not
>please consider changing the installer default - no-one is going to be
>happy to have accidentally made a MB-sized partition!)

No, that's no typo. And the patch does not touch this.
So, it's just the current status quo.

But I will evaluate, if that should be changed.

>I reads OK as-is, but to avoid repetition of 'enter the size' you could
>start the second sentence with something like "You can use the following
>formats:"

LGTM, thanks


Holger

-- 
Sent from /e/ OS on Fairphone3



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-08-13 Thread Richard Lewis
Holger Wansing  writes:

> Justin B Rye  wrote (Fri, 28 Jul 2023 10:04:09 
> +0100):
>> Holger Wansing wrote:
>> > Thorsten Glaser :
>> >> Could this information (valid unit sufficēs) be added to the dialogue
>> >> where the size is entered? Screen space should suffice.
>> [...]
>> > CC'ing debian-l10n-english for template review (three identical additions
>> > in two packages).
>
> I found there is another template, which needs to be changed for this.
>
> Patch attached (especially for review on l10n-english).

diff --git a/debian/partman-lvm.templates b/debian/partman-lvm.templates
index 509d9a7..63219c0 100644
--- a/debian/partman-lvm.templates
+++ b/debian/partman-lvm.templates
@@ -376,8 +376,9 @@ Type: string
 # :sl3:
 _Description: Logical volume size:
  Please enter the size of the new logical volume. The size may be
  entered in the following formats: 10KB (Kilobytes), 10KiB (Kibibytes), 10MB
 (Megabytes), 10MiB (Mebibytes), 10GB (Gigabytes), 10GiB (Gibibytes), 10TB
 (Terabytes), 10TiB (Tebibytes). The default unit is Megabytes.
 ^^

I wonder if this last word is a typo and should say Gigabytes? (if not
please consider changing the installer default - no-one is going to be
happy to have accidentally made a MB-sized partition!)

I reads OK as-is, but to avoid repetition of 'enter the size' you could
start the second sentence with something like "You can use the following
formats:"



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-08-12 Thread Holger Wansing
Hi,

Justin B Rye  wrote (Fri, 28 Jul 2023 10:04:09 
+0100):
> Holger Wansing wrote:
> > Thorsten Glaser :
> >> Could this information (valid unit sufficēs) be added to the dialogue
> >> where the size is entered? Screen space should suffice.
> [...]
> > CC'ing debian-l10n-english for template review (three identical additions
> > in two packages).

I found there is another template, which needs to be changed for this.

Patch attached (especially for review on l10n-english).


Holger



-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076
diff --git a/debian/partman-lvm.templates b/debian/partman-lvm.templates
index 509d9a7..63219c0 100644
--- a/debian/partman-lvm.templates
+++ b/debian/partman-lvm.templates
@@ -376,8 +376,9 @@ Type: string
 # :sl3:
 _Description: Logical volume size:
  Please enter the size of the new logical volume. The size may be
- entered in the following formats: 10K (Kilobytes), 10M (Megabytes),
- 10G (Gigabytes), 10T (Terabytes). The default unit is Megabytes.
+ entered in the following formats: 10KB (Kilobytes), 10KiB (Kibibytes), 10MB
+ (Megabytes), 10MiB (Mebibytes), 10GB (Gigabytes), 10GiB (Gibibytes), 10TB
+ (Terabytes), 10TiB (Tebibytes). The default unit is Megabytes.
 
 Template: partman-lvm/lvcreate_error
 Type: error


Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-28 Thread Thorsten Glaser
Holger Wansing dixit:

>>Could this information (valid unit sufficēs) be added to the dialogue
>>where the size is entered? Screen space should suffice.
>
>Yes, I already thought about if changing the template would make sense here.

Thanks!

Could we also get the size output in both formats? I realise that
will most likely not be a change as simple…

bye,
//mirabilos
-- 
15:41⎜ Somebody write a testsuite for helloworld :-)



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-28 Thread Justin B Rye
Holger Wansing wrote:
> Thorsten Glaser :
>> Could this information (valid unit sufficēs) be added to the dialogue
>> where the size is entered? Screen space should suffice.
[...]
> CC'ing debian-l10n-english for template review (three identical additions
> in two packages).
[...]
>   Hint: "max" can be used as a shortcut to specify the maximum size, or
>   enter a percentage (e.g. "20%") to use that percentage of the maximum size.
> + You can specify partition sizes in decimal units (like MB or GB) as well as
> + in binary units (like GiB or TiB).

Looks good to me.  Mind you, this makes the passive voice in the first
line a bit more of a stylistic and syntactic mismatch, so I might
suggest changing it to

Hint: you can use "max" as a shortcut to specify the maximum size, or

throughout...
-- 
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-28 Thread Holger Wansing
Hi,


Am 26. Juli 2023 23:19:31 MESZ schrieb Thorsten Glaser :
>
>Could this information (valid unit sufficēs) be added to the dialogue
>where the size is entered? Screen space should suffice.

Yes, I already thought about if changing the template would make sense here.



That would require synchron changings in partman-partitioning and
partman-auto-lvm.


Patches attached as a proposal.
CC'ing debian-l10n-english for template review (three identical additions
in two packages).


Holger







diff --git a/debian/partman-partitioning.templates b/debian/partman-partitioning.templates
index 8464201..298a3ae 100644
--- a/debian/partman-partitioning.templates
+++ b/debian/partman-partitioning.templates
@@ -25,30 +25,32 @@ _Description: Write previous changes to disk and continue?
  .
  You cannot undo this operation.
  .
  Please note that the resize operation may take a long time.
 
 Template: partman-partitioning/new_size
 Type: string
 Default: some number
 # :sl2:
 _Description: New partition size:
  The minimum size for this partition is ${MINSIZE} (or ${PERCENT}) and its
  maximum size is ${MAXSIZE}.
  .
  Hint: "max" can be used as a shortcut to specify the maximum size, or
  enter a percentage (e.g. "20%") to use that percentage of the maximum size.
+ You can specify partition sizes in decimal units (like MB or GB) as well as
+ in binary units (like GiB or TiB).
 
 Template: partman-partitioning/bad_new_size
 Type: error
 # :sl2:
 _Description: The size entered is invalid
  The size you entered was not understood.
  Please enter a positive integer size followed by an optional unit of measure
  (e.g. "200 GB"). The default unit of measure is the megabyte.
 
 Template: partman-partitioning/big_new_size
 Type: error
 # :sl2:
 _Description: The size entered is too large
  The size you entered is larger than the maximum size of the partition.
  Please enter a smaller size to continue.
@@ -65,30 +67,32 @@ Type: error
 # :sl2:
 _Description: Resize operation failure
  An error occurred while writing the changes to the storage devices.
  .
  The resize operation has been aborted.
 
 Template: partman-partitioning/new_partition_size
 Type: string
 Default: some number
 # :sl2:
 _Description: New partition size:
  The maximum size for this partition is ${MAXSIZE}.
  .
  Hint: "max" can be used as a shortcut to specify the maximum size, or
  enter a percentage (e.g. "20%") to use that percentage of the maximum size.
+ You can specify partition sizes in decimal units (like MB or GB) as well as
+ in binary units (like GiB or TiB).
 
 Template: partman-partitioning/bad_new_partition_size
 Type: error
 # :sl2:
 _Description: Invalid size
 
 Template: partman-partitioning/new_partition_place
 Type: select
 # :sl1:
 __Choices: Beginning, End
 # :sl1:
 _Description: Location for the new partition:
  Please choose whether you want the new partition to be created at the
  beginning or at the end of the available space.
 
diff --git a/debian/partman-auto-lvm.templates b/debian/partman-auto-lvm.templates
index 271294e..f5f4bbd 100644
--- a/debian/partman-auto-lvm.templates
+++ b/debian/partman-auto-lvm.templates
@@ -79,30 +79,32 @@ Type: string
 Default: some number
 # :sl3:
 _Description: Amount of volume group to use for guided partitioning:
  You may use the whole volume group for guided partitioning, or part of it.
  If you use only part of it, or if you add more disks later, then you will
  be able to grow logical volumes later using the LVM tools, so using a
  smaller part of the volume group at installation time may offer more
  flexibility.
  .
  The minimum size of the selected partitioning recipe is ${MINSIZE} (or
  ${PERCENT}); please note that the packages you choose to install may
  require more space than this. The maximum available size is ${MAXSIZE}.
  .
  Hint: "max" can be used as a shortcut to specify the maximum size, or
  enter a percentage (e.g. "20%") to use that percentage of the maximum size.
+ You can specify partition sizes in decimal units (like MB or GB) as well as
+ in binary units (like GiB or TiB).
 
 Template: partman-auto-lvm/bad_guided_size
 Type: error
 # :sl3:
 _Description: Invalid input
  You entered "${INPUT}", which was not recognized as a valid size.
 
 Template: partman-auto-lvm/big_guided_size
 Type: error
 # :sl3:
 _Description: ${SIZE} is too big
  You asked for ${SIZE} to be used for guided partitioning, but the available
  space is only ${MAXSIZE}.
 
 Template: partman-auto-lvm/small_guided_size


Processed: Re: Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-26 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reopen 684128
Bug #684128 {Done: Cyril Brulebois } [partman-base] 
src:debian-installer: allow use of binary units in disk partitioner
'reopen' may be inappropriate when a bug has been closed with a version;
all fixed versions will be cleared, and you may need to re-add them.
Bug reopened
No longer marked as fixed in versions partman-base/225.
> retitle 684128 src:debian-installer: show ISO/IEC 60027-2 units (as well); 
> show valid suffixes
Bug #684128 [partman-base] src:debian-installer: allow use of binary units in 
disk partitioner
Changed Bug title to 'src:debian-installer: show ISO/IEC 60027-2 units (as 
well); show valid suffixes' from 'src:debian-installer: allow use of binary 
units in disk partitioner'.
> found 684128 226
Bug #684128 [partman-base] src:debian-installer: show ISO/IEC 60027-2 units (as 
well); show valid suffixes
Marked as found in versions partman-base/226.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
684128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684128
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-26 Thread Thorsten Glaser
reopen 684128
retitle 684128 src:debian-installer: show ISO/IEC 60027-2 units (as well); show 
valid suffixes
found 684128 226
thanks

Holger Wansing dixit:

>So I guess it works as it should.
>
>The (visual) output is still in MB / GB, apart from this a see no issue.

Hrm, the output being only in one format can be a problem, but it’s
not as critical. I would still love for *that* to be fixed, i.e. either
only ISO/IEC 60027-2 units or both those and decimal.

>With a 12.0 netinst image, creating a new partition with a size of 512 MiB
>results in a parition of 536 MB

OK, thanks for confirming. I heard twohundred-something across the room,
which would have been quite off, but didn’t have a chance to visually
inspect myself.

Could this information (valid unit sufficēs) be added to the dialogue
where the size is entered? Screen space should suffice.

I’ll repurpose this bug for that (both input and output changes).

Thanks,
//mirabilos
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
 -- Henry Nelson, March 1999



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-26 Thread Holger Wansing


Thorsten Glaser  wrote (Tue, 25 Jul 2023 20:15:04 + (UTC)):
> why is this bug still unfixed?
> 
> In bookworm d-i, entering 512 MiB seems to be using something
> entirely different, and 512 Mi gives an error “invalid size”.
> 
> This still makes d-i unsuitable for most partitioning.

With a 12.0 netinst image, creating a new partition with a size of 512 MiB
results in a parition of 536 MB, creating a partiton of 10 GiB results in
a partition of 10,7 GB.
So I guess it works as it should.

The (visual) output is still in MB / GB, apart from this a see no issue.


Holger

-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-25 Thread Thorsten Glaser
Cyril Brulebois dixit:

>https://www.debian.org/devel/debian-installer/News/2023/20230516.en.html
>documents a fix for #913431, which is a duplicate of this bug report.

Huh.

>> In bookworm d-i, entering 512 MiB seems to be using something
>> entirely different
>
>“Something entirely different” compared to what?

I was a few metres across the room, but I heard something around
twohundred-something, which was definitely no power of two either.

>The second syntax is indeed invalid.

OK, it was only tried as last resort anyway.

>> This still makes d-i unsuitable for most partitioning.
>
>Feel free to use a different tool.

Oh, I personally do, but not everyone is I.

bye,
//mirabilos
-- 
22:20⎜ The crazy that persists in his craziness becomes a master
22:21⎜ And the distance between the craziness and geniality is
only measured by the success 18:35⎜ "Psychotics are consistently
inconsistent. The essence of sanity is to be inconsistently inconsistent



Processed: Re: Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-25 Thread Debian Bug Tracking System
Processing control commands:

> notfound -1 226
Bug #684128 [partman-base] src:debian-installer: allow use of binary units in 
disk partitioner
No longer marked as found in versions partman-base/226.
> close -1 225
Bug #684128 [partman-base] src:debian-installer: allow use of binary units in 
disk partitioner
Marked as fixed in versions partman-base/225.
Bug #684128 [partman-base] src:debian-installer: allow use of binary units in 
disk partitioner
Marked Bug as done

-- 
684128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684128
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-25 Thread Cyril Brulebois
Control: notfound -1 226
Control: close -1 225

Hi,

Thorsten Glaser  (2023-07-25):
> why is this bug still unfixed?

https://www.debian.org/devel/debian-installer/News/2023/20230516.en.html
documents a fix for #913431, which is a duplicate of this bug report.

Closing this one accordingly.

> In bookworm d-i, entering 512 MiB seems to be using something
> entirely different, and 512 Mi gives an error “invalid size”.

“Something entirely different” compared to what?

The second syntax is indeed invalid.

> This still makes d-i unsuitable for most partitioning.

Feel free to use a different tool.


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2023-07-25 Thread Thorsten Glaser
found 684128 226
thanks

Hi,

why is this bug still unfixed?

In bookworm d-i, entering 512 MiB seems to be using something
entirely different, and 512 Mi gives an error “invalid size”.

This still makes d-i unsuitable for most partitioning.

bye,
//mirabilos
-- 
[...] if maybe ext3fs wasn't a better pick, or jfs, or maybe reiserfs, oh but
what about xfs, and if only i had waited until reiser4 was ready... in the be-
ginning, there was ffs, and in the middle, there was ffs, and at the end, there
was still ffs, and the sys admins knew it was good. :)  -- Ted Unangst über *fs



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2012-08-07 Thread Ian Bruce
Package: src:debian-installer
Severity: important
Tags: d-i

The version 6.0 installer invites users to specify the sizes of disk
partitions and volumes in units of K, M, G, and T. Only later do
they find out that what is meant by this is the politically-correct
decimal units 10^3, 10^6, 10^9, and 10^12, rather than the conventional
binary units of 2^10, 2^20, 2^30, and 2^40. One is only likely to
discover this when the installation is complete, and if that is not what
was wanted, it is then too late to do anything about it other than wipe
the disk and start all over again.

This is not a trivial problem. It is quite reasonable, for example, to
want to be able to say this system has eight gigabytes of main memory
and this system has eight gigabytes of swap space, and have those two
values mean the same thing. The difference between a binary and decimal
gigabyte is over seven percent, not insignificant when allocating
filesystem storage.

Currently the only solution is to know in advance (probably by learning
the hard way) that decimal units are being used, and if binary units are
wanted, to write them out in full: 1024, 1048576, 1073741824, etc. This
is clearly not adequate.

Possible solutions:

1 - AT AN ABSOLUTE MINIMUM: at the point where the use of metric
suffixes is suggested, explain that these really are decimal, so that
people who want the binary values know that they need to write them out,
as above.

2 - Give the suffixes the same binary values that many people would
expect them to have, and explain this. There is no need to support the
hard disk manufacturers' deceptive marketing strategy. Flash drives are
not specified with decimal units. (Are they?)

3 - Let the user choose at the beginning of partitioning whether these
units will have binary or decimal meanings, both for specifying new
partitions and volumes, and reporting those that are already present, as
well as the sizes of physical media.

4 - The disk partitioner is presumably based on GNU parted, which allows
either binary (KiB, MiB, GiB, TiB) or decimal (KB, MB, GB,
TB) units to be used. Explain to the user that they may specify any of
these units, and pass them through to parted.

5 - Solution (4) leaves open the question of what units will be used to
report volume/partition/disk status. Parted provides the unit command
for this purpose, as well as that of solution (3). Perhaps this should
be made available as a menu option, or in some other way.

6 - Alternatively, if the size of some disk volume is an exact multiple
of 2^{10,20,30,40}, report it using the appropriate binary unit,
otherwise with a decimal unit.

http://www.gnu.org/software/parted/manual/html_node/unit.html

Hopefully something can be done about this problem before the next major
release.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120807092702.9620.28840.reportbug@sixtie



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2012-08-07 Thread Christian PERRIER
reassign 684128 partman-partitioning
thanks

Quoting Ian Bruce (ian_br...@fastmail.net):

 Possible solutions:
 
 1 - AT AN ABSOLUTE MINIMUM: at the point where the use of metric
 suffixes is suggested, explain that these really are decimal, so that
 people who want the binary values know that they need to write them out,
 as above.
 
 2 - Give the suffixes the same binary values that many people would
 expect them to have, and explain this. There is no need to support the
 hard disk manufacturers' deceptive marketing strategy. Flash drives are
 not specified with decimal units. (Are they?)
 
 3 - Let the user choose at the beginning of partitioning whether these
 units will have binary or decimal meanings, both for specifying new
 partitions and volumes, and reporting those that are already present, as
 well as the sizes of physical media.
 
 4 - The disk partitioner is presumably based on GNU parted, which allows
 either binary (KiB, MiB, GiB, TiB) or decimal (KB, MB, GB,
 TB) units to be used. Explain to the user that they may specify any of
 these units, and pass them through to parted.
 
 5 - Solution (4) leaves open the question of what units will be used to
 report volume/partition/disk status. Parted provides the unit command
 for this purpose, as well as that of solution (3). Perhaps this should
 be made available as a menu option, or in some other way.
 
 6 - Alternatively, if the size of some disk volume is an exact multiple
 of 2^{10,20,30,40}, report it using the appropriate binary unit,
 otherwise with a decimal unit.
 
 http://www.gnu.org/software/parted/manual/html_node/unit.html
 
 Hopefully something can be done about this problem before the next major
 release.


All of theseimply too invasive changes in the installer, particularly
in translatable material. This is zero chance that anything is done at
this point of the release.

This issue will have to be worked on for jessie, not for
wheezy. Hopefully someone will come with a patch (I somehow doubt it
as I think that only incredibly picky people really do care about
differencesbetween MB and MiB..but, who knows?).

Anyway, reassigning this to the package it belongs to.



signature.asc
Description: Digital signature


Processed: Re: Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2012-08-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 684128 partman-partitioning
Bug #684128 [src:debian-installer] src:debian-installer: allow use of binary 
units in disk partitioner
Bug reassigned from package 'src:debian-installer' to 'partman-partitioning'.
Ignoring request to alter found versions of bug #684128 to the same values 
previously set
Ignoring request to alter fixed versions of bug #684128 to the same values 
previously set
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
684128: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684128
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13443412146293.transcr...@bugs.debian.org



Processed: Re: Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2012-08-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 684128 normal
Bug #684128 [partman-partitioning] src:debian-installer: allow use of binary 
units in disk partitioner
Severity set to 'normal' from 'wishlist'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
684128: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684128
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13443474488433.transcr...@bugs.debian.org



Bug#684128: src:debian-installer: allow use of binary units in disk partitioner

2012-08-07 Thread Joey Hess
Christian PERRIER wrote:
 This issue will have to be worked on for jessie, not for
 wheezy. Hopefully someone will come with a patch (I somehow doubt it
 as I think that only incredibly picky people really do care about
 differencesbetween MB and MiB..but, who knows?).

The difference between a TB and a TiB is 93 GiB (or 99 GB).

While I loathe the SI decimal units [1] displaying them is the right default,
sadly. But human2longint should certianly be extended to handle the iB
units.

-- 
see shy jo

[1] 
http://source.git-annex.branchable.com/?p=source.git;a=blob;f=Utility/DataUnits.hs


signature.asc
Description: Digital signature