Subject: Re: [bsd] Re: V2 RC2 shows and uses wrong partition table entry
To: None <current-users@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 10/14/2004 07:59:02
In article <200410131913.VAA0000200443@zel459.zel.kfa-juelich.de>
M.Drochner@fz-juelich.de wrote:

> bouyer@antioche.eu.org said:
> > The disklabel is at the beginning of c:, not d:. This may be enouth to
> > make sure that c: is the NetBSD partition of the disk. 
> 
> The disklabel is found by using the offset found in the MBR - at
> that point it shouldn't matter whether a c: entry points to
> the same place or not.

bounds_check_with_label() and look_netbsd_part() in kern/subr_disk_mbr.c
(or some MD disksubr.c) implicitly use partition c.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp