Subject: bin/351: Stop newfs overflowing screen with trivial change
To: None <gnats-admin>
From: Peter Galbavy <>
List: netbsd-bugs
Date: 07/20/1994 13:05:07
>Number:         351
>Category:       bin
>Synopsis:       With modern partition sizes, newfs wraps on 80 column screen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 20 13:05:05 1994
>Originator:     Peter Galbavy
>Release:        1.0-ALPHA
System: NetBSD 1.0-ALPHA NetBSD 1.0-ALPHA (DUMPTY) #0: Sun Jul 10 17:21:04 BST 1994 sparc

This is a really trivial cosmetic thing, but if (as with most new drives)
you newfs a large partition, then the 80 column wrapping breaks down.

newfs a large partition (> 1000000 sectors)

change line 591 in sbin/newfs/mkfs.c from:
		if (cylno % 9 == 0)
		if (cylno % 8 == 0)