diff options
author | Bernhard Voelker | 2012-03-26 11:30:16 +0200 |
---|---|---|
committer | Karel Zak | 2012-03-30 15:23:32 +0200 |
commit | d636d6d82acb7c62c670fc0d291182cb3b950118 (patch) | |
tree | 3f94085580dd6a42e93de5fef3f920acad5fb8e8 /misc-utils/wipefs.8 | |
parent | tools: improve ko-release-* scripts (diff) | |
download | kernel-qcow2-util-linux-d636d6d82acb7c62c670fc0d291182cb3b950118.tar.gz kernel-qcow2-util-linux-d636d6d82acb7c62c670fc0d291182cb3b950118.tar.xz kernel-qcow2-util-linux-d636d6d82acb7c62c670fc0d291182cb3b950118.zip |
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 <mail@bernhard-voelker.de>
Diffstat (limited to 'misc-utils/wipefs.8')
-rw-r--r-- | misc-utils/wipefs.8 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc-utils/wipefs.8 b/misc-utils/wipefs.8 index cee8ef75f..cecdc441f 100644 --- a/misc-utils/wipefs.8 +++ b/misc-utils/wipefs.8 @@ -47,9 +47,10 @@ Specify the location (in bytes) of the signature which should be erased from the device. The \fIoffset\fR number may include a "0x" prefix; then the number will be interpreted as a hex value. It is possible to specify multiple \fB-o\fR options. -The \fIoffset\fR argument 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 \fIoffset\fR argument 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\-p, \-\-parsable\fP" Print out in parsable instead of printable format. Encode all potentially unsafe characters of a string to the corresponding hex value prefixed by '\\x'. |