From nobody@FreeBSD.ORG Tue Jul 27 14:22:55 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id AB8AF14EB3; Tue, 27 Jul 1999 14:22:55 -0700 (PDT)
Message-Id: <19990727212255.AB8AF14EB3@hub.freebsd.org>
Date: Tue, 27 Jul 1999 14:22:55 -0700 (PDT)
From: mkc@graphics.cornell.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: sysinstall disk label editor needs to right justify Size field, or use GB
X-Send-Pr-Version: www-1.0

>Number:         12844
>Category:       bin
>Synopsis:       sysinstall disk label editor needs to right justify Size field, or use GB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brian
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 27 14:30:00 PDT 1999
>Closed-Date:    Thu Jul 29 01:44:17 PDT 1999
>Last-Modified:  Thu Jul 29 01:44:40 PDT 1999
>Originator:     Mitch Collinsworth
>Release:        3.2-R
>Organization:
Cornell University 
>Environment:
FreeBSD benge.graphics.cornell.edu 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Thu Jul  1 14:43:21 EDT 1999     mkc@benge.graphics.cornell.edu:/usr/src/sys/compile/BENGE  i386
>Description:
sysinstall's disk label editor's size field is overflowing when size is
greater than 9999MB, which is now a reality.  But there are (potentially)
free spaces to the left if the Mount field is not filled.  Alternatively,
start using GB instead of MB.  Below is an example of what just happened
when I added an 18 GB and 2 9 GB disks:

                         FreeBSD Disklabel Editor

Disk: da2       Partition name: da2s1   Free: 0 blocks (0MB)
Disk: da3       Partition name: da3s1   Free: 0 blocks (0MB)
Disk: da4       Partition name: da4s1   Free: 0 blocks (0MB)

Part    Mount            Size Newfs   Part    Mount            Size Newfs
----    -----            ---- -----   ----    -----            ---- -----
da2s1e  /remote/16     17366MBUFS Y
da3s1e  /remote/17     8682MB UFS Y
da4s1e  /remote/18     8682MB UFS Y  






The following commands are valid here (upper or lower case):
C = Create      D = Delete         M = Mount pt. W = Write
N = Newfs Opts  T = Newfs Toggle   U = Undo      Q = Finish
A = Auto Defaults for all!

Use F1 or ? to get more help, arrow keys to select.


>How-To-Repeat:
Add another 18 GB disk.
>Fix:
Right justify rather than left justify, or use GB rather than MB
when value exceeds 9999 MB.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Jul 28 06:20:25 PDT 1999 
Responsible-Changed-Why:  
Hand over to Mr Sysinstall. *duck* 
Responsible-Changed-From-To: jkh->brian 
Responsible-Changed-By: brian 
Responsible-Changed-When: Wed Jul 28 13:48:08 PDT 1999 
Responsible-Changed-Why:  
I'll commit patches from joe@uk.FreeBSD.org if jkh doesn't mind 
State-Changed-From-To: open->closed 
State-Changed-By: brian 
State-Changed-When: Thu Jul 29 01:44:17 PDT 1999 
State-Changed-Why:  
Fixed in -current.  I'll MFC in a few days. 
>Unformatted:
