From owner-freebsd-questions Sat Aug 24 22: 4:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D94837B401 for ; Sat, 24 Aug 2002 22:04:10 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E649E43E4A for ; Sat, 24 Aug 2002 22:04:06 -0700 (PDT) (envelope-from keramida@FreeBSD.org) Received: from hades.hell.gr (patr530-a054.otenet.gr [212.205.215.54]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7P544pD016857; Sun, 25 Aug 2002 08:04:05 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7P543sq075468; Sun, 25 Aug 2002 08:04:03 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7P542R3075467; Sun, 25 Aug 2002 08:04:02 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Sun, 25 Aug 2002 08:04:02 +0300 From: Giorgos Keramidas To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: dd if=/dev/zero of=/dev/ad1 Message-ID: <20020825050401.GC74424@hades.hell.gr> References: <20020825005742.W71244-100000@earl-grey.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020825005742.W71244-100000@earl-grey.cloud9.net> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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