From hsu@fx7.cs.hut.fi  Wed Jan 25 16:04:44 1995
Received: from fx7.cs.hut.fi (fx7.cs.hut.fi [130.233.192.240]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA07090 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jan 1995 16:04:40 -0800
Received: (from hsu@localhost) by fx7.cs.hut.fi (8.6.9/8.6.9) id CAA02451; Thu, 26 Jan 1995 02:03:11 GMT
Message-Id: <199501260203.CAA02451@fx7.cs.hut.fi>
Date: Thu, 26 Jan 1995 02:03:11 GMT
From: Heikki Suonsivu <hsu@fx7.cs.hut.fi>
Reply-To: hsu@fx7.cs.hut.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: Disklabel uses c partition by default, kernel says d
X-Send-Pr-Version: 3.2

>Number:         188
>Category:       bin
>Synopsis:       disklabel uses c partition by default, kernel says d
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 25 16:10:00 1995
>Closed-Date:    Wed Feb 7 16:15:16 PST 1996
>Last-Modified:  Wed Feb  7 16:15:37 PST 1996
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
HUT
>Environment:

FreeBSD system with non-labeled disks.

>Description:

disklabel -w -r a disk which doesn't have a label; kernel creates a 
dummy label with d partition as the whole disk.  Disklabel tries to use
c partition and gets "device not configured". 

>How-To-Repeat:

Install factory-fresh disk and try to disklabel it with

disklabel -w -r sd1 disktype

>Fix:
	
Change disklabel to use d partition by default, or modify kernel to 
create c partition as the whole disk (maybe both c and d).

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pst 
State-Changed-When: Wed Feb 7 16:15:16 PST 1996 
State-Changed-Why:  
Fixed with new slice code. 
>Unformatted:


