From woju@freebsd.ee.ntu.edu.tw  Tue Mar 17 05:13:29 1998
Received: from freebsd.ee.ntu.edu.tw (freebsd.ee.ntu.edu.tw [140.112.19.123])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA09987
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Mar 1998 05:13:15 -0800 (PST)
          (envelope-from woju@freebsd.ee.ntu.edu.tw)
Received: (qmail 9512 invoked by uid 1000); 17 Mar 1998 13:13:11 -0000
Message-Id: <19980317131311.9511.qmail@freebsd.ee.ntu.edu.tw>
Date: 17 Mar 1998 13:13:11 -0000
From: woju@freebsd.ee.ntu.edu.tw
Reply-To: woju@freebsd.ee.ntu.edu.tw
To: FreeBSD-gnats-submit@freebsd.org
Subject: disklable editor problem of boot.flp
X-Send-Pr-Version: 3.2

>Number:         6042
>Category:       misc
>Synopsis:       problem of disklable editor in boot.flp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 17 05:20:00 PST 1998
>Closed-Date:    Sun Mar 22 22:28:57 PST 1998
>Last-Modified:  Sun Mar 22 22:29:18 PST 1998
>Originator:     woju
>Release:        FreeBSD 2.2.6-BETA i386
>Organization:
	Nation Taiwan University
	Electrical Engineering
>Environment:

	

2.2.6-980315-BETA

FreeBSD 2.2.6-BETA #0: Mon Mar 16 14:23:31 CST 1998
CPU: Pentium (120.27-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)

>Description:

	

	Booting from
ftp://releng22.freebsd.org/pub/FreeBSD/2.2.6-980315-BETA/floppies/boot.flp
In the main menu, select configure -> disk label editor
It does not recognize the old(existing) disk lables, and report the whole
slice is free.

For example:
freebsd[woju]:~$ df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd2s1a    194719   107911    71231    60%    /
...

When booting from boot.flp, select disklabel editor, it would treat 
wd2s1 as new slice, and report the whole size as free space, ignoring
the existing wd2s1a(and other existing labels in the wd2s1).

The problem make it diffcult to "upgrade" existig system via install
new systems (overwrite or replace the old systems). Also, it may cause
"large, whole" data lose easily due to the mis-report of "free space"
in the existing slice.

>How-To-Repeat:

	

booting from
ftp://releng22.freebsd.org/pub/FreeBSD/2.2.6-980315-BETA/floppies/boot.flp
select 
configure -> disk label editor

>Fix:
	
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Mar 22 22:28:57 PST 1998 
State-Changed-Why:  
This has been fixed - please see latest 2.2.6 BETA snapshots.  Thanks! 
>Unformatted:
