Bug#306200: lvm2: please use SI units
Benoît Dejean
TazForEver@dlfp.org, 306200@bugs.debian.org
Mon, 25 Apr 2005 00:42:42 +0200
Package: lvm2
Version: 2.01.04-3
Severity: important
The lvresize manpages says:
"A size suffix of M for megabytes, G for gigabytes or T for terabytes is optional."
it's unclear if M, G, T mean
a) 2^20B, 2^30B, 2^40B
b) 10^6B, 10^9B, 10^12B
if (a), then the manpage should use SI units MiB, GiB and TiB.
lvdisplay --units is undocumented
[--units hsbkmgtHKMGT] ? what are these units ? Does M stand for MB or MiB ?
The BIPM brochure says:
"These SI prefixes refer strictly to powers of 10. They should not be used to
indicate powers of 2 (for example, one kilobit represents 1000 bits and not 1024
bits)"
http://www1.bipm.org/utils/en/pdf/si-brochure.pdf §3.1
Please consider using [KMG]iB instead of [kMG]B
http://physics.nist.gov/cuu/Units/binary.html
Thanks.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.11-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Versions of packages lvm2 depends on:
ii debconf 1.4.48 Debian configuration management sy
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libdevmapper1.01 2:1.01.00-4 The Linux Kernel Device Mapper use
ii lvm-common 1.5.17 The Logical Volume Manager for Lin
-- debconf information:
lvm2/snapshots: