Subject: Re: Braindamage in arm/disksubr.c
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 08/28/2002 08:38:06
On Thu, Aug 29, 2002 at 12:16:09AM +0900, Izumi Tsutsui wrote:
> Maybe this is because arm/disksubr.c has MBR support
> but unlike i386 RAW_PART is 2 (not 3) and it does not
> have 'NetBSD parition' in its disklabels.
>
> So, if a disk has MBR and NetBSD partition in it is not located
> at the top, bounds_check_with_label() would fail.
As far as I can tell, MBRs and NetBSD disklabels cannot coexist on the
same disk with the ARM disksubr, and bounds_check_with_label() isn't
checking for the MBR location anyway.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>