Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 22:21:11 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Andrew Falanga" <af300wsm@gmail.com>
Cc:        Roland Smith <rsmith@xs4all.nl>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Wipe a drive clean
Message-ID:  <d7195cff0806242021x7eef4be2vd74175056066084@mail.gmail.com>
In-Reply-To: <340a29540806231336g4be401a6h5f5a1b2b6dca110e@mail.gmail.com>
References:  <340a29540806231257x670cf398qc5bf11c396fd0afb@mail.gmail.com> <20080623202259.GB97202@slackbox.xs4all.nl> <340a29540806231336g4be401a6h5f5a1b2b6dca110e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/6/23 Andrew Falanga <af300wsm@gmail.com>:
> On Mon, Jun 23, 2008 at 2:23 PM, Roland Smith <rsmith@xs4all.nl> wrote:
>>
>> I'm not sure about flash memory, but for a harddrive, simple writing 0's
>> is not a secure way to delete data. It can still be recovered.
>
> Actually, this is for an experiment that I want to start with a
> "clean" device for.  I'm not actually trying to obtain some level of
> security.

Assuming you do not have some geom provider on
said device

# dd if=/dev/zero of=/dev/da2 bs=1024k count=1

should wipe the partition table and superblock, which is
good enough for an insecure erase.

-- 
--



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