Re: boot0cfg -s vs. GEOM_PART_*?

From: Ulf Lilleengen <ulf.lilleengen_at_gmail.com>
Date: Tue, 17 Feb 2009 19:38:00 +0000
On Tue, Feb 17, 2009 at 10:29:10AM -0800, Marcel Moolenaar wrote:
> 
> On Feb 17, 2009, at 3:46 AM, Bjoern A. Zeeb wrote:
> 
> > with a fresh kernel and world from last night I get:
> >
> > dopt# boot0cfg -s 3 ad4
> > boot0cfg: /dev/ad4: ad4
> > boot0cfg: /dev/ad4: ioctl DIOCSMBR: Inappropriate ioctl for device
> >
> > is this GEOM_PART_* fallout and can it be fixed?
> 
> boot0cfg is not (yet) supported by GPART. It should not
> be too hard:
> 1.  We need to expose the current bootcode through
>      kern.geom.confxml
> 2.  boot0cfg grabs the bootcode from the XML, makes
>      the changes in memory and then uses existing
>      g_part ctlreq to update the bootcode.
Mhm, this seems to be a good way to do it. Also, fdisk and bsdlabel might
need a sweep as well.

-- 
Ulf Lilleengen
Received on Tue Feb 17 2009 - 17:37:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC