Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196092 > unrolled thread

Wipefs which action ?

Started byBhasker C V <bhasker@unixindia.com>
First post2018-05-26 17:50 +0200
Last post2018-05-29 19:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Wipefs which action ? Bhasker C V <bhasker@unixindia.com> - 2018-05-26 17:50 +0200
    Re: Wipefs which action ? Dan Ritter <dsr@randomstring.org> - 2018-05-29 19:20 +0200

#196092 — Wipefs which action ?

FromBhasker C V <bhasker@unixindia.com>
Date2018-05-26 17:50 +0200
SubjectWipefs which action ?
Message-ID<vTJC9-57A-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

wipefs manual says -n for both noheadings and "no action"
the no-headings must be -i

[toc] | [next] | [standalone]


#196208

FromDan Ritter <dsr@randomstring.org>
Date2018-05-29 19:20 +0200
Message-ID<vUQrU-6tT-11@gated-at.bofh.it>
In reply to#196092
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:

wipefs /dev/sda3
  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".

/sbin/wipefs -h

Usage:
 wipefs [options] <device>

Wipe signatures from a device.

Options:
 -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()
call
 -o, --offset <num>  offset to erase, in bytes
 -p, --parsable      print out in parsable instead of printable
format
 -q, --quiet         suppress output messages
 -t, --types <list>  limit the set of filesystem, RAIDs or
partition tables
 -V, --version       output version information and exit

For more details see wipefs(8).

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web