> Hi FAI Developers,
> 
> recently Ubuntu changed the default lvm.conf file, they now use
> following:
> -----
>     # Since version 2.02.54, the tools distinguish between powers of
>     # 1024 bytes (e.g. KiB, MiB, GiB) and powers of 1000 bytes (e.g.
>     # KB, MB, GB).
>     # If you have scripts that depend on the old behaviour, set this to 0
>     # temporarily until you update them.
>     si_unit_consistency = 1
> -----
> 
> This breaks setup-storage. Attached patch fixed it for me.
> But I think it will be semantical incorrect if someone uses new
> lvm-tools with si_unit_consistency equal 0.
> 
> Any idea for a better fix?
> 

[...]

This has already been fixed in the experimental builds, see also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568794

The patch does more or less what you proposed to change; I just tried to make it
slightly easier later on to also distinguish GiB/GB once also parted and all the
other tools go for correct units handling.

Best,
Michael

Attachment: pgpYlq3VMnTlm.pgp
Description: PGP signature

Reply via email to