Swap partition for FreeBSD

Warren Block wblock at wonkity.com
Sat May 16 21:44:39 UTC 2015

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 <rootkea at gmail.com> wrote:
> Avinash, I'm cutting various bits out of this digest, because I can :)
> In response to Matthew Seaman <matthew at freebsd.org> 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.

More information about the freebsd-questions mailing list