Display size with human_size_brief with a chosen prefix
authorMaciej Naruszewicz <maciej.naruszewicz@intel.com>
Tue, 2 Oct 2012 06:41:13 +0000 (16:41 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Oct 2012 06:41:13 +0000 (16:41 +1000)
commitf0ec67106c00f8dd1cadebfdff933fd8aefa0ff2
treed24c04334fe33be3a8edf58d88086cdc122bc402
parent570abc6f3881b5152cb1244d5e6afcc421c5a4ce
Display size with human_size_brief with a chosen prefix

When using human_size_brief, only IEC prefixes were supported. Now
it's possible to specify which format we want to see - either IEC
(kibi, mibi, gibi) or JEDEC (kilo, mega, giga).

Signed-off-by: Maciej Naruszewicz <maciej.naruszewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Query.c
mdadm.h
util.c