Subject: bin/970: newfs doesn't like >8 parititions
To: None <gnats-admin@NetBSD.ORG>
From: Henric Jungheim <henric@eci1.ucsb.edu>
List: netbsd-bugs
Date: 04/16/1995 19:35:03
>Number:         970
>Category:       bin
>Synopsis:       newfs doesn't like >8 parititions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 16 19:35:01 1995
>Originator:     Henric Jungheim <henric@engineering.ucsb.edu>
>Organization:
	
Just my Amiga 4000/040 and I.
>Release:        "sup"'ed as of Apr 16th <NetBSD-current source date>
>Environment:
	
System: NetBSD blurg.ucsb.edu 1.0A NetBSD 1.0A (HENRIC) #12: Sun Apr 16 18:18:40 PDT 1995 henric@blurg.ucsb.edu:/usr/src/sys/arch/amiga/compile/HENRIC amiga
Amiga 4000/040 w/ 16mb ram.

>Description:
	
Neither newfs nor newlfs will accept disk partitions that end in anything
other than [a-h].  This can be a bit of a problem when first installing
NetBSD.

>How-To-Repeat:
	
>Fix:
	
There is a hard-coded check against 'h' in newfs.c (in both the newfs and
newlfs dirs) that should probably be replaced with ('a' + MAXPARITIONS - 1).

>Audit-Trail:
>Unformatted: