bin/90093: fdisk(8) incapable of altering in-core geometry

Marcel Moolenaar xcllnt at mac.com
Sun Jul 27 20:23:57 UTC 2008


On Jul 27, 2008, at 12:10 PM, Ulf Lilleengen wrote:

> AFAICT, the fdisk code skips to using pwrite to write the MBR if the  
> MBR GEOM
> class fails (which it will do if an MBR does not exist), and should  
> update
> the MBR info correctly anyway. I was however unsuccessful altering the
> geometry even with this patch. But the warning printed when geom_mbr  
> fails is
> a bit confusing, since the write request might be successful anyway,  
> so we
> should either just quell the warning, or make using geom_mbr work.

Would you mind testing gpart?

Just remove GEOM_MBR from your kernel (i.e. add nooption GEOM_MBR)
and add options GEOM_PART_MBR instead.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-geom mailing list