Date: Mon, 26 Aug 2002 11:03:22 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Giorgos Keramidas <keramida@FreeBSD.org> Cc: Peter Leftwich <Hostmaster@Video2Video.Com>, FreeBSD LIST <FreeBSD-Questions@FreeBSD.org> Subject: Re: dd if=/dev/zero of=/dev/ad1 Message-ID: <20020826013322.GD88156@wantadilla.lemis.com> In-Reply-To: <20020825050401.GC74424@hades.hell.gr> References: <20020825005742.W71244-100000@earl-grey.cloud9.net> <20020825050401.GC74424@hades.hell.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 25 August 2002 at 8:04:02 +0300, Giorgos Keramidas wrote: > 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. The optimum is the maximum transfer size, currently 128 kB. Greg -- See complete headers for address and phone numbers 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?20020826013322.GD88156>