On Mon, Sep 26, 2016 at 8:46 PM, O'Connor, Daniel <dar...@dons.net.au> wrote:
>> On 27 Sep 2016, at 06:21, John Baldwin <j...@freebsd.org> wrote:
>> That doesn't always work. In particular, if a disk was partitioned with GPT
>> and then you use normal MBR on it afterwards, the 'gpart destroy -F' of the
>> MBR will leave most of the GPT intact and the disk will come up with the old
>> GPT partitions, not as a raw disk.
> I wonder how feasible it would be to have a command which runs destroy for
> every known partition scheme on a particular device..
> Sure there would be some duplicate zeroing but it's not likely to be
> significantly slower and considerably more robust.
dd of 2MB of zeros to the start and end of the disk. That will destroy
pretty much everything. For SSDs, sometimes you can do the same with
TRIMs only faster (other times they are slower or unreliable).
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"