Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 21:09:37 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Ngie Cooper <yaneurabeya@gmail.com>
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>, Slawa Olhovchenkov <slw@zxy.spb.ru>
Subject:   Re: How to safely remove rest of GTP?
Message-ID:  <alpine.BSF.2.20.1702022100240.96992@wonkity.com>
In-Reply-To: <CAGHfRMDUp6B1jTjacGC2pMzErPwLNNt60ZNX_MuYoW1owmY1Lg@mail.gmail.com>
References:  <201701312058.v0VKwlut046163@pdx.rh.CN85.dnsmgr.net> <b0c54824-ba3a-7c1d-7106-d5b2b6b8bde2@yandex.ru> <CAGHfRMDUp6B1jTjacGC2pMzErPwLNNt60ZNX_MuYoW1owmY1Lg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1702022100240.96992>