chiark / gitweb /
core: clean up some confusing regarding SI decimal and IEC binary suffixes for sizes
authorLennart Poettering <lennart@poettering.net>
Sun, 23 Feb 2014 02:13:54 +0000 (03:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 23 Feb 2014 02:19:04 +0000 (03:19 +0100)
commit5556b5fe41173107a67dbe875fbd916a46e52a02
treea9ca468b7c030c5c95a87bb35b4f986dedb1bba8
parente342365c27ecae32a7f20ada0b2c623ce22e5ea8
core: clean up some confusing regarding SI decimal and IEC binary suffixes for sizes

According to Wikipedia it is customary to specify hardware metrics and
transfer speeds to the basis 1000 (SI decimal), while software metrics
and physical volatile memory (RAM) sizes to the basis 1024 (IEC binary).
So far we specified everything in IEC, let's fix that and be more
true to what's otherwise customary. Since we don't want to parse "Mi"
instead of "M" we document each time what the context used is.
13 files changed:
man/systemd.resource-control.xml
man/systemd.socket.xml
man/udev.xml
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/journal/journald-gperf.gperf
src/shared/conf-parser.c
src/shared/conf-parser.h
src/shared/util.c
src/shared/util.h
src/systemctl/systemctl.c
src/test/test-util.c
src/udev/net/link-config-gperf.gperf