2
2
.\" Copyright 2009 by Karel Zak. All Rights Reserved.
3
3
.\" This file may be copied under the terms of the GNU Public License.
5
.TH WIPEFS 8 "October 2009" "Linux" "MAINTENANCE COMMANDS"
5
.TH WIPEFS 8 "October 2009" "util-linux" "System Administration"
7
7
wipefs \- wipe a filesystem signature from a device
16
allows to erase filesystem or raid signatures (magic strings) from the
16
can erase filesystem or raid signatures (magic strings) from the specified
18
18
to make the filesystem invisible for libblkid.
20
does not erase the whole filesystem or any other data from the device.
21
When used without options -a or -o, it lists all visible filesystems and offsets
20
does not erase the filesystem itself nor any other data from the device.
21
When used without options \fB-a\fR or \fB-o\fR, it lists all visible filesystems
22
and the offsets of their signatures.
24
24
.IP "\fB\-a, \-\-all\fP"
25
25
Erase all available signatures.
28
28
.IP "\fB\-n, \-\-no\-act\fP"
29
29
Causes everything to be done except for the write() call.
30
30
.IP "\fB\-o, \-\-offset\fP \fIoffset\fP
31
Specifies location (in bytes) of the signature which should be erased from the
32
device. The offset number may include a "0x" prefix, and then the number will be
33
read as a hex value. It is possible to specify multiple -o options.
31
Specify the location (in bytes) of the signature which should be erased from the
32
device. The \fIoffset\fR number may include a "0x" prefix; then the number will be
33
interpreted as a hex value. It is possible to specify multiple \fB-o\fR options.
35
35
The \fIoffset\fR argument may be followed by binary (2^N) suffixes KiB, MiB,
36
36
GiB, TiB, PiB and EiB (the "iB" is optional, e.g. "K" has the same meaning as
37
37
"KiB") or decimal (10^N) suffixes KB, MB, GB, PB and EB.
38
38
.IP "\fB\-p, \-\-parsable\fP"
39
Print out in parsable instead of printable format. Encode all potentially unsafe
39
Print out in parsable instead of printable format. Encode all potentially unsafe
40
40
characters of a string to the corresponding hex value prefixed by '\\x'.
41
.IP "\fB\-V, \-\-version\fP"
42
Output version information and exit.
42
44
Karel Zak <kzak@redhat.com>.