Subject: bin/351: Stop newfs overflowing screen with trivial change
To: None <gnats-admin>
From: Peter Galbavy <peter@alice.wonderland.org>
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
>Organization:
Wonderland
>Release: 1.0-ALPHA
>Environment:
System: NetBSD alice.wonderland.org 1.0-ALPHA NetBSD 1.0-ALPHA (DUMPTY) #0: Sun Jul 10 17:21:04 BST 1994 peter@alice.wonderland.org:/usr/src/sys/arch/sparc/compile/DUMPTY sparc
>Description:
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.
>How-To-Repeat:
newfs a large partition (> 1000000 sectors)
>Fix:
change line 591 in sbin/newfs/mkfs.c from:
if (cylno % 9 == 0)
to:
if (cylno % 8 == 0)
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------