NetBSD Problem Report #351
From gnats Wed Jul 20 12:51:06 1994
Received: from alice.wonderland.org (alice.wonderland.org [193.195.141.1]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id MAA00361 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 20 Jul 1994 12:50:58 -0700
Message-Id: <199407201337.OAA17069@alice.wonderland.org>
Date: Wed, 20 Jul 1994 14:37:38 +0100
From: Peter Galbavy <peter@alice.wonderland.org>
Reply-To: peter@alice.wonderland.org
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: Stop newfs overflowing screen with trivial change
X-Send-Pr-Version: 3.2
>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
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jul 20 13:05:05 +0000 1994
>Closed-Date: Wed Jul 20 20:33:45 +0000 1994
>Last-Modified: Sat Jun 14 03:55:04 +0000 2014
>Originator: Peter Galbavy
>Release: 1.0-ALPHA
>Organization:
Wonderland
>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)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Wed Jul 20 13:33:45 PDT 1994
State-Changed-Why:
patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.