Re: Wipefs which action ?
- Date: Tue, 29 May 2018 13:15:32 -0400
- From: Dan Ritter <dsr@xxxxxxxxxxxxxxxx>
- Subject: Re: Wipefs which action ?
On Sat, May 26, 2018 at 04:44:33PM +0100, Bhasker C V wrote:
> wipefs manual says -n for both noheadings and "no action"
> the no-headings must be -i
I've only ever used two options on wipefs:
to discover where the offset is for the filesystem info
wipefs -o 0x100 /dev/sda3
(or whatever other offset was discovered above) to wipe it
My copy of wipefs (stretch, util-linux 2.29.2) does not have a -i option
at all, and does not have anything close to "noheadings".
wipefs [options] <device>
Wipe signatures from a device.
-a, --all wipe all magic strings (BE CAREFUL!)
-b, --backup create a signature backup in $HOME
-f, --force force erasure
-h, --help show this help text
-n, --no-act do everything except the actual write()
-o, --offset <num> offset to erase, in bytes
-p, --parsable print out in parsable instead of printable
-q, --quiet suppress output messages
-t, --types <list> limit the set of filesystem, RAIDs or
-V, --version output version information and exit
For more details see wipefs(8).