Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2002 08:04:02 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.org>
Subject:   Re: dd if=/dev/zero of=/dev/ad1
Message-ID:  <20020825050401.GC74424@hades.hell.gr>
In-Reply-To: <20020825005742.W71244-100000@earl-grey.cloud9.net>
References:  <20020825005742.W71244-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-08-25 00:59 +0000, Peter Leftwich wrote:
> `dd if=/dev/zero of=/dev/ad1`
>
> Is this the correct command line to totally wipe clean (to all zeroes, e.g.
> factory new) a primary slave HDD?  Always learning,

True.  You might want to use a large block size to speed operations if
possible (less I/O calls from dd(1) to the kernel, and more freedom to
the kernel drivers to arrange in which order data is zeroed).  Try at
least 32 KB.

	dd bs=32768 if=/dev/zero of=/dev/ad1

- Giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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