On Feb 13, 11:56am, Michael van Elst wrote:
} [email protected] (Greg Troxel) writes:
}
} > And when destroying a GPT label, it should
} >first remove each partition, and thus remove each wedge.
}
} Looks like gpt isn't running dkctl after destroying the GPT,
} probably neither after creation or recovery.
I recently changed gpt(8) to not run dkctl when it isn't
needed. Ideally one would not be destroying a GPT that contains
active wedges. Creating a GPT does not change what partitions
exist. It does run dkctl after recover.
i386devel: {150} grep GPT_SYNC *
add.c: GPT_SYNC,
label.c: GPT_SYNC,
migrate.c: GPT_SYNC,
recover.c: GPT_SYNC,
remove.c: GPT_SYNC,
resize.c: GPT_SYNC,
restore.c: GPT_SYNC,
type.c: GPT_SYNC | GPT_OPTDEV,
}-- End of excerpt from Michael van Elst