All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: wipefs dry run
@ 2017-05-10  9:54 Ruediger Meier
  2017-05-10 10:32 ` Karel Zak
  0 siblings, 1 reply; 8+ messages in thread
From: Ruediger Meier @ 2017-05-10  9:54 UTC (permalink / raw)
  To: util-linux

Hi,

I wonder why wipefs does not show all MBR and GPT signatures which would
be deleted by using "-fa".

$ truncate -s 100M /tmp/CCC
$ ./sfdisk /tmp/CCC <<EOF
> label: gpt
> label-id: 384A8F14-17FF-4782-A190-A5B858E3FCF0
> device: /tmp/CCC
> unit: sectors
> first-lba: 34
> last-lba: 204766
> EOF

$ ./wipefs  -fa --no-act   /tmp/CCC
/tmp/CCC: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 
41 52 54

$ ./wipefs  -fa    /tmp/CCC
/tmp/CCC: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 
41 52 54
/tmp/CCC: 8 bytes were erased at offset 0x063ffe00 (gpt): 45 46 49 20 50 
41 52 54
/tmp/CCC: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa


cu,
Rudi

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-06-29 10:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10  9:54 BUG: wipefs dry run Ruediger Meier
2017-05-10 10:32 ` Karel Zak
2017-05-10 10:53   ` Karel Zak
2017-05-10 11:03   ` Ruediger Meier
2017-05-26 11:21     ` Karel Zak
2017-06-15 14:47       ` Ruediger Meier
2017-06-16  9:39         ` Karel Zak
2017-06-29 10:55         ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.