Wipe a drive clean
illoai at gmail.com
illoai at gmail.com
Wed Jun 25 03:46:24 UTC 2008
2008/6/23 Andrew Falanga <af300wsm at gmail.com>:
> On Mon, Jun 23, 2008 at 2:23 PM, Roland Smith <rsmith at 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.
--
--
More information about the freebsd-questions
mailing list