~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to misc-utils/wipefs.8

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.
4
4
.\"
5
 
.TH WIPEFS 8 "October 2009" "Linux" "MAINTENANCE COMMANDS"
 
5
.TH WIPEFS 8 "October 2009" "util-linux" "System Administration"
6
6
.SH NAME
7
7
wipefs \- wipe a filesystem signature from a device
8
8
.SH SYNOPSIS
9
9
.B wipefs
10
 
.RB [ \-ahnp ]
 
10
.RB [ \-ahnpV ]
11
11
.RB [ \-o
12
12
.IR offset ]
13
13
.I device
14
14
.SH DESCRIPTION
15
15
.B wipefs
16
 
allows to erase filesystem or raid signatures (magic strings) from the
 
16
can erase filesystem or raid signatures (magic strings) from the specified
17
17
.I device
18
18
to make the filesystem invisible for libblkid.
19
19
.B wipefs
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
22
 
of their signatures.
 
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.
23
23
.SH OPTIONS
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.
34
34
 
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.
41
43
.SH AUTHOR
42
44
Karel Zak <kzak@redhat.com>.
43
45
.SH AVAILABILITY