From owner-freebsd-questions@FreeBSD.ORG Sat May 16 21:44:39 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5D407AE for ; Sat, 16 May 2015 21:44:39 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CC2D17AA for ; Sat, 16 May 2015 21:44:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t4GLiUqY053252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 16 May 2015 15:44:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t4GLiTBf053230; Sat, 16 May 2015 15:44:30 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 16 May 2015 15:44:29 -0600 (MDT) From: Warren Block To: Ian Smith cc: Avinash Sonawane , freebsd-questions@freebsd.org Subject: Re: Swap partition for FreeBSD In-Reply-To: <20150517010804.E69409@sola.nimnet.asn.au> Message-ID: References: <20150517010804.E69409@sola.nimnet.asn.au> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 16 May 2015 15:44:30 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2015 21:44:39 -0000 On Sun, 17 May 2015, Ian Smith wrote: > In freebsd-questions Digest, Vol 571, Issue 6 > On Sat, 16 May 2015 15:16:56 +0530 Avinash Sonawane wrote: > > Avinash, I'm cutting various bits out of this digest, because I can :) > > In response to Matthew Seaman you wrote: > > > When I tried to delete the said partition from freebsd as `gpart > > delete -i 2878773 ada0s4` it says "gpart: pre-check failed: Operation > > -i there shouldn't be a block number, from my reading of gpart(8) on > 9.3, but I'm not sure how exactly delete ada0s6 should be crafted, if > it's possible with your kernel as is (below). (yoo hoo, Warren!) The -i value is the partition number from the list shown by 'gpart show ada0s4'. I think it is in the third column. I admit to not having used extended DOS partitions from gpart, and in fact until now had successfully suppressed the memory of their existence.