Subject: Re: config.new problem, is this just me?
To: None <seebs@solutions.solon.com, current-users@NetBSD.ORG>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: current-users
Date: 01/24/1995 17:12:25
Charles said, about the config.new problems on the amiga:
> This is an artifact of config.new(8) not dealing nicely with differing
> values of MAXPARTITIONS, and instead always assuming that disk minor
> numbers are (unit * 8 + partition). Currently it affects the Amiga
> port. Someone should fix it.
>
> Note that simply using MAXPARTITIONS throughout the source is *not*
> correct; you're supposed to be able to configure a kernel for any
> architecture from a system running on any other architecture. This
> would mean that either MAXPARTITIONS must be consistent across
> architectures, or config.new(8) needs to generate specifications that
> explicitly calculate the `unit * MAXPARTITIONS + partition' at compile
> time.
... _HOWEVER_ it's not quite as easy as if that were the only problem
to be solved, because it's also possible to specify devices by device
number...
chris