Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2008 12:23:48 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Ulf Lilleengen <lulf@freebsd.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: bin/90093: fdisk(8) incapable of altering in-core geometry
Message-ID:  <FC600952-A8A7-4AE7-9790-0775AF6138DC@mac.com>
In-Reply-To: <200807271910.m6RJA9qB060568@freefall.freebsd.org>
References:  <200807271910.m6RJA9qB060568@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC600952-A8A7-4AE7-9790-0775AF6138DC>