MRB zeroing

Clayton Stapleton plug-discuss@lists.plug.phoenix.az.us
Mon, 2 Dec 2002 18:11:26 -0700


Thanks Bill That was what I was looking for.
Clayton
On Monday 02 December 2002 12:33 pm, Bill Jonas wrote:
> On Mon, Dec 02, 2002 at 09:50:57AM -0700, Clayton Stapleton wrote:
> > =09dd if=3D/dev/zero of=3D/dev/hda ibs=3D512 obs=3D512
>
> You'll want to do it as follows:
>
>          dd if=3D/dev/zero of=3D/dev/hda bs=3D512 count=3D1
>
> If ibs and obs are the same, you can just use bs instead of using both.
> (The bs option sets both ibs and obs.)  You *really* want to specify
> "count=3D1", or else you will overwrite your entire disk with zeros, 51=
2
> bytes at a time.  Be very careful with this command.