From owner-freebsd-questions@FreeBSD.ORG Sun Jun 5 08:06:30 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEC35106564A for ; Sun, 5 Jun 2011 08:06:30 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id BBB378FC0C for ; Sun, 5 Jun 2011 08:06:30 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p557ohlv019491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 5 Jun 2011 00:50:43 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p557ohMK019490; Sun, 5 Jun 2011 00:50:43 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA24814; Sun, 5 Jun 11 00:35:54 PDT Date: Sun, 05 Jun 2011 00:35:55 -0700 From: perryh@pluto.rain.com To: rsimmons0@gmail.com Message-Id: <4deb31db.HAlrICd12fNR9NoX%perryh@pluto.rain.com> References: <4DEAAE54.1050508@locolomo.org> <20110605044021.GA2213@tinyCurrent> <201106050103.47416.rsimmons0@gmail.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: odhiambo@gmail.com, questions@freebsd.org Subject: Re: Partitioning with gpart or old style slices? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2011 08:06:30 -0000 Robert Simmons wrote: > > How do I wipe the whole thing in one go so that I can start > > afresh? > > > > gpart destroy ad4 ?? > > Yes, but first you must delete all of the slices/partitions. > Think of it this way: you must go backwards down the path you > just came with a delete for each add, then a destroy for each > create. So there is no way to just say "clean up this whole disk" in a single operation? That seems a considerable step backwards, given that the old tools have "fdisk -i" and "bsdlabel -w".