From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 09:18:47 2004 Return-Path: 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 DBFE316A4CE for ; Wed, 11 Feb 2004 09:18:47 -0800 (PST) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id C60DE43D2F for ; Wed, 11 Feb 2004 09:18:47 -0800 (PST) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.197.67] helo=jerusalem.litteratus.org.litteratus.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1Aqy0c-0002Wc-00 for questions@freebsd.org; Wed, 11 Feb 2004 12:18:47 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16426.25589.873525.703043@jerusalem.litteratus.org> Date: Wed, 11 Feb 2004 12:18:45 -0500 To: questions@freebsd.org X-Mailer: VM 7.14 under 21.5 (beta16) "celeriac" XEmacs Lucid Subject: wiping a partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 17:18:48 -0000 I've gotten into a wierd situation where the best course seems to be wipe a (BSD) partition - without chnaging the size or location - and then restoring from backup. Based on the Handbook (sec. 12.3.2) the correct would seem to be: make backup cd / dd if=/dev/zero of=/dev/da1 bs=1k count=1 newfs -O 2 -U /dev/da1e restore from backup Have I overlooked anything? Robert Huff