Subject: Re: config.new problem, is this just me?
To: None <current-users@NetBSD.ORG>
From: Greg Oster <firstname.lastname@example.org>
Date: 01/24/1995 14:06:10
Charles M. Hannum writes:
[Peter Seebach said the indented part]
> swap on sd0b and sd1b and sd2b
> configures for swap on sd0b, sd0j, and sd1b.
> 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.
Speaking of MAXPARTITIONS problems, a related problem exists in newfs.c:
if (cp == 0 || (*cp < 'a' || *cp > 'h') && !isdigit(*cp))
fatal("%s: can't figure out file system partition",
where 'h' is hard-coded as the upper limit. This makes it quite
interesting trying to newfs such partitions as sd1i, sd1j, etc. on the
Amiga port (and likely any other port that supports more than 8
While a simple hack can make newfs work, that hack will not help
resolve the MAXPARTITIONS issues like an elegant solution would...
Keep up the great work guys...
Department of Computational Science
University of Saskatchewan, Saskatoon, Saskatchewan, CANADA