MRB zeroing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Clayton Stapleton
Date:  
Subject: MRB zeroing
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.