How to safely remove rest of GTP?
Warren Block
wblock at wonkity.com
Fri Feb 3 04:09:41 UTC 2017
On Thu, 2 Feb 2017, Ngie Cooper wrote:
> *snort* I completely forgot I had scripted this back 1.5 years ago:
> https://github.com/yaneurabeya/scratch/blob/master/bayonetta/scratch/scripts/freebsd/wipe-gpt-partitions.sh
> . This basically napalms all of the blocks at the beginning and end
> that count per GPT (and MBR as well).
>
> If someone wants, I can check this into FreeBSD somewhere under tools...
dd is the standard solution, but the oseek to the end of the drive is
relatively slow. Or at least it seemed like it the last time I tried it
on a big drive. And thematically, the function goes with gpart.
More information about the freebsd-hackers
mailing list