Sanitizing a geometry in libdisk

From: Takahashi Yoshihiro <nyan_at_jp.FreeBSD.org>
Date: Sat, 19 Sep 2009 13:22:11 +0900 (JST)
The Sanitize_Bios_Geom() is always called after r188408.  But the
function has a problem of checking a disk size.  So it causes to using
incorrect geometry.

I think that it's the same problem in g_part_bsd_read()_at_g_part_bsd.c

The attached patch is useful for pc98 at least so it should be in 8.0.

Please review it.

---
TAKAHASHI Yoshihiro <nyan_at_jp.FreeBSD.org>

Received on Sat Sep 19 2009 - 02:23:02 UTC

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