summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.8
diff options
context:
space:
mode:
authorKarel Zak2010-03-30 14:05:58 +0200
committerKarel Zak2010-03-30 14:45:29 +0200
commit69cc2ec06158d7849e6ae8c95f944f044e7b380d (patch)
tree61d3baa962d109d333897f640fc61986364dc3c7 /misc-utils/wipefs.8
parentblkid: support suffixes for -O <offset> and -S <size> (diff)
downloadkernel-qcow2-util-linux-69cc2ec06158d7849e6ae8c95f944f044e7b380d.tar.gz
kernel-qcow2-util-linux-69cc2ec06158d7849e6ae8c95f944f044e7b380d.tar.xz
kernel-qcow2-util-linux-69cc2ec06158d7849e6ae8c95f944f044e7b380d.zip
wipefs: support suffixes for --offset
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/wipefs.8')
-rw-r--r--misc-utils/wipefs.84
1 files changed, 4 insertions, 0 deletions
diff --git a/misc-utils/wipefs.8 b/misc-utils/wipefs.8
index 109c0a6b4..973f2ef22 100644
--- a/misc-utils/wipefs.8
+++ b/misc-utils/wipefs.8
@@ -31,6 +31,10 @@ Causes everything to be done except for the write() call.
Specifies location (in bytes) of the signature which should be erased from the
device. The offset number may include a "0x" prefix, and then the number will be
read as a hex value. It is possible to specify multiple -o 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.
.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'.