Subject: Re: mbrlabel problem
To: Hubert Feyrer <hubert@feyrer.de>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-kern
Date: 09/16/2005 22:18:10
On Fri, Sep 16, 2005 at 10:02:11PM +0200, Hubert Feyrer wrote:
> On Fri, 16 Sep 2005, Pavel Cahyna wrote:
> >mbrlabel sd2
> >
> >the result was surprising:
> ...
> >Not updating disk label.
> 
> Maybe read about the options of mbrlabel.

I did.

> Bear in mind that there are at least to disklabels: the one stored on 
> disk, and the "in-core" one that NetBSD keeps "in its mind" - they may be 
> different, and mbrlabe(1) has different options to update either one (or 
> maybe even none at all, and just print what's there!).

I know this. I am not surprised by the "Not updating disk label." message.
I was surprised by the inconsistency between:

"Found 4.2BSD partition; size 12287983 (5999 MB), offset 63"

and

#        size    offset     fstype [fsize bsize cpg/sgs]
 a:     16384        63     4.2BSD   1024  8192    16  # (Cyl.      0*-     13*)

The size reported for a: seems to be nonsensical.

Bye	Pavel