Subject: port-i386/3717: in-core disklabel doesn't show extended DOS partitions as MSDOS
To: None <gnats-bugs@gnats.netbsd.org>
From: None <billc@warped.com>
List: netbsd-bugs
Date: 06/06/1997 20:17:58
>Number:         3717
>Category:       port-i386
>Synopsis:       in-core disklabel doesn't show extended DOS partitions as MSDOS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun  6 19:35:01 1997
>Last-Modified:
>Originator:     William Coldwell
>Organization:
--
William Coldwell                                        Warped Communications
IRC:Cryo@irc.warped.net  EMAIL:billc@warped.com  http://www.warped.com/~billc
                  "Who let these idiots on the Internet?" 
>Release:        <NetBSD-current source date> 06/06/97
>Environment:
	
System: NetBSD zero.warped.com 1.2E NetBSD 1.2E (ZERO) #58: Fri Jun 6 19:42:48 PDT 1997 billc@zero.warped.com:/usr/src/sys/arch/i386/compile/ZERO i386


>Description:
	 The disk is a fully formatted MSDOS with MBR, with 2 DOS partitions.. one shows up as the primary, which NetBSD in-core disklabel shows as MSDOS, the 2nd partition is an extended one (D:) and shows up as 'unknown':
  e:  4192902       63     MSDOS                        # (Cyl.    0*- 1866)
  f:  4192965  4192965    unused        0     0         # (Cyl. 1866*- 3732*)

NOTE: to get past DOS's 2G limit, this 4G drive was split in half.

>How-To-Repeat:
	 mount_msdos -o ro /dev/sd0e /mnt, then try with sd0f

>Fix:
	
	make the in-core label notice extended partitions and 'work' :)

>Audit-Trail:
>Unformatted: