Subject: port-sparc/7741: syboot-14.fs can create zero length partitions with non-zero offset
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 06/09/1999 01:06:37
>Synopsis: syboot-14.fs can create zero length partitions with non-zero offset
>Responsible: port-sparc-maintainer (NetBSD/sparc Portmaster)
>Arrival-Date: Wed Jun 9 01:05:02 1999
>Originator: John Refling
NetBSD gail 1.4 NetBSD 1.4 (GENERIC) #0: Sun May 9 03:00:22 MEST 1999 pk@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc
When installing using syboot-14, if one chooses to have one large /
partition and one swap partition, we are asked for the size of 'a' and
I respond 17498880, then asked for the size of 'b' and I respond 201600.
At that point there is nothing left on the disk, but I am asked for size
of '/usr ' which I keep at 0. That's the end of the questions.
The the partitions are printed out as a, b, and c, which looks OK.
The newfs command then fails and the entire install aborts.
I repeat the above, but respond that I want to change a partition,
and then the entire a,b,c,d,e,f,g,etc partitions are printed and
g looks like: size:0 offset:17700480. The offset killed the newfs.
Either make newfs not choke when it gets a partition of zero size
but non-zero offset (do nothing),
ensure that the install script sets the offset to zero of all zero