Invalid fdisk partition table found

Warren Block wblock at wonkity.com
Thu Nov 24 00:08:46 UTC 2011


On Wed, 23 Nov 2011, Julian H. Stacey wrote:

> 2 Base of _my_ man fdisk
> "     When running multi user, you cannot write unless you first run this:
>     sysctl kern.geom.debugflags=16
> "

But that's not quite correct.  Setting debugflags to 16 allows writes to 
a partition that's mounted, something that should not normally be 
needed.  It will give an error instead of allowing writes in that case. 
So if writes succeeded, that wasn't the problem.

'gpart -F destroy {device}' may help recover the CF cards.


More information about the freebsd-questions mailing list