Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 20:47:32 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        gpeel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: wiping a drive with dd
Message-ID:  <20090110204706.E16862@wojtek.tensor.gdynia.pl>
In-Reply-To: <20090110175323.M10662@thenetnow.com>
References:  <20090110175323.M10662@thenetnow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all,
>
> When dd is used like:
>
> dd if="/dev/0" of="/dev/da1" bs="1024"

dd if=/dev/zero of=/dev/da1 bs=1m

(or at least 64k for block size, unless you have too much time.

>
> Does it completely wipe the drive INCLUDING the boot sectors etc? (i.e. does
> it start right at secor 0 of the disk and continue to the last sector?).

yes



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