svn commit: r221972 - head/sys/geom/part

Warner Losh imp at bsdimp.com
Mon May 23 20:13:00 UTC 2011


On May 23, 2011, at 12:44 PM, Doug Barton wrote:
> I don't know enough about the topic to know what's "best," however what I would like to add to the conversation is that it would be nice if we did it the same way that windows and linux do it, because otherwise you end up with messages like these:
> 
> GEOM: ad0s2: geometry does not match label (255h,63s != 16h,63s).
> GEOM: ad0s3: geometry does not match label (255h,63s != 16h,63s).
> 
> when you use a windows or linux tool to partition your disk before installing FreeBSD. I have tried various combinations of tools and methods of slicing the disk and never found a way to avoid error messages one way or another, so I just ignore them now.
> 
> If there is truly no reason to do it one way or the other, can we please just do it the way that everyone else does it?

These messages can simply be deleted.  They serve no purpose at all.  The firmware is reporting a different bogus geometry than the label is encoded.

Alternatively, we could likely supress the warning for the 'it is bigger than this' encoding of 1023/255/63, since that's the more-or-less official way of having the MBR report 'saturated'.

Warner


More information about the svn-src-all mailing list