From d636d6d82acb7c62c670fc0d291182cb3b950118 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Mon, 26 Mar 2012 11:30:16 +0200 Subject: docs: clarify KiB vs. KB in man pages Update the man pages of blkid, wipefs, fallocate, fstrim, losetup and hexdump to clarify the suffixes for the numerical values of the offset and size/length arguments regarding KiB=1024 vs KB=1000. Also mention the ZiB/YiB and ZB/YB suffixes supported by strtosize(). Signed-off-by: Bernhard Voelker --- sys-utils/losetup.8 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys-utils/losetup.8') diff --git a/sys-utils/losetup.8 b/sys-utils/losetup.8 index f50b072e0..9b5fe6109 100644 --- a/sys-utils/losetup.8 +++ b/sys-utils/losetup.8 @@ -69,9 +69,10 @@ to detach loop devices and to query the status of a loop device. If only the device is shown. .SH OPTIONS -The \fIsize\fR and \fIoffset\fR arguments may be followed by binary (2^N) -suffixes KiB, MiB, GiB, TiB, PiB and EiB (the "iB" is optional, e.g. "K" has the -same meaning as "KiB") or decimal (10^N) suffixes KB, MB, GB, PB and EB. ++The \fIsize\fR and \fIoffset\fR arguments may be followed by the multiplicative ++suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB ++(the "iB" is optional, e.g. "K" has the same meaning as "KiB") or the suffixes ++KB=1000, MB=1000*1000, and so on for GB, PB, EB, ZB and YB. .IP "\fB\-a, \-\-all\fP" show status of all loop devices. Note that not all information are accessible -- cgit v1.2.3-55-g7522