CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2013/09/03 11:48:26

Modified files:
        sys/kern       : subr_disk.c 

Log message:
When a partition is changing to UNUSED, we try to save kernel-set
values for the p_fragblock and p_cpg fields. But we were saving the
info for open partitions only. Instead, look at all partitions.
And stop discarding the new partition type.

In addition to general betterness, this lets you change the RAW_PART
partition (a.k.a. 'c') to UNUSED. This problem was pointed out by
Federico Giannici via misc@.

ok otto@

Reply via email to