From jmattson@sonic.net  Sun Aug  9 20:55:39 1998
Received: from marine.sonic.net (marine.sonic.net [208.201.224.37])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA05918
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Aug 1998 20:55:37 -0700 (PDT)
          (envelope-from jmattson@sonic.net)
Received: (qmail 17338 invoked from network); 10 Aug 1998 03:55:40 -0000
Received: from unknown (HELO sub.sonic.net) (208.201.224.8)
  by marine.sonic.net with SMTP; 10 Aug 1998 03:55:40 -0000
Received: from denali.campbell.ca.us (d37.rpm1.sonic.net [209.133.37.37]) by sub.sonic.net (8.8.8/8.8.5) with ESMTP id UAA00532 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 Aug 1998 20:55:12 -0700
Received: (from jmattson@localhost)
	by denali.campbell.ca.us (8.8.8/8.8.7/denali.980419) id UAA00473;
	Sun, 9 Aug 1998 20:55:05 -0700 (PDT)
	(envelope-from jmattson)
Message-Id: <199808100355.UAA00473@denali.campbell.ca.us>
Date: Sun, 9 Aug 1998 20:55:05 -0700 (PDT)
From: Jim Mattson <jmattson@sonic.net>
Reply-To: jmattson@sonic.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Logical DOS volumes not recognized in ExtendedX partitions
X-Send-Pr-Version: 3.2

>Number:         7549
>Category:       i386
>Synopsis:       Logical DOS volumes not recognized in ExtendedX partitions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug  9 21:00:01 PDT 1998
>Closed-Date:    Mon Aug 10 00:22:21 PDT 1998
>Last-Modified:  Wed Aug 19 17:40:00 PDT 1998
>Originator:     Jim Mattson
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
>Environment:

	Windows 9X Extended DOS partitions for large disks (sysid 15)

>Description:

	The machine dependent disk slice manager does not recognize
	DOS partition type 15 (Extended DOS, LBA) as a container for
	DOS logical volumes, so the appropriate slices (e.g. sd1s5)
	are not initialized.

	Note:  This is a duplicate of bin/4120.

>How-To-Repeat:

	Try anything that accesses a logical volume in the ExtendedX
	partition.  For example,

	dd if=/dev/sd1s5 of=/dev/null


>Fix:
	
	Look for sysid 15 as well as sysid 5 when looking for extended DOS
	partitions in diskslice_machdep.c.

*** diskslice_machdep.c	1998/08/10 03:08:48	1.1
--- diskslice_machdep.c	1998/08/10 03:15:04
***************
*** 44,49 ****
--- 44,50 ----
  #include <sys/conf.h>
  #include <sys/disklabel.h>
  #define	DOSPTYP_EXTENDED	5
+ #define	DOSPTYP_EXTENDEDX	15
  #define	DOSPTYP_ONTRACK		84
  #include <sys/diskslice.h>
  #include <sys/malloc.h>
***************
*** 344,350 ****
  	/* Handle extended partitions. */
  	sp -= NDOSPART;
  	for (dospart = 0; dospart < NDOSPART; dospart++, sp++)
! 		if (sp->ds_type == DOSPTYP_EXTENDED)
  			extended(dname, bp->b_dev, strat, lp, ssp,
  				 sp->ds_offset, sp->ds_size, sp->ds_offset,
  				 max_nsectors, max_ntracks, mbr_offset);
--- 345,352 ----
  	/* Handle extended partitions. */
  	sp -= NDOSPART;
  	for (dospart = 0; dospart < NDOSPART; dospart++, sp++)
! 		if (sp->ds_type == DOSPTYP_EXTENDED || 
!                     sp->ds_type == DOSPTYP_EXTENDEDX)
  			extended(dname, bp->b_dev, strat, lp, ssp,
  				 sp->ds_offset, sp->ds_size, sp->ds_offset,
  				 max_nsectors, max_ntracks, mbr_offset);
***************
*** 416,422 ****
  		if (dp->dp_scyl == 0 && dp->dp_shd == 0 && dp->dp_ssect == 0
  		    && dp->dp_start == 0 && dp->dp_size == 0)
  			continue;
! 		if (dp->dp_typ == DOSPTYP_EXTENDED) {
  			char buf[32];
  
  			sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE,
--- 418,425 ----
  		if (dp->dp_scyl == 0 && dp->dp_shd == 0 && dp->dp_ssect == 0
  		    && dp->dp_start == 0 && dp->dp_size == 0)
  			continue;
! 		if (dp->dp_typ == DOSPTYP_EXTENDED || 
!                     dp->dp_typ == DOSPTYP_EXTENDEDX) {
  			char buf[32];
  
  			sname = dsname(dname, dkunit(dev), WHOLE_DISK_SLICE,
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Mon Aug 10 00:22:21 PDT 1998 
State-Changed-Why:  
committed, thanks! 

From: Bill Fumerola <billf@jade.chc-chimes.com>
To: freebsd-gnats-submit@freebsd.org
Cc: vanilla@freebsd.org, asami@freebsd.org
Subject: ports/7549
Date: Wed, 19 Aug 1998 20:10:54 -0400 (EDT)

 gtkgl was committed as gtkql.. I know that repository copies and deletes
 and other stuff is wierd/hard/impossiblewith cvsup, but could this be
 changed/fixed.
 
 thanks,
 
 -bill
 

From: asami@FreeBSD.ORG (Satoshi Asami)
To: billf@jade.chc-chimes.com
Cc: freebsd-gnats-submit@freebsd.org, vanilla@freebsd.org
Subject: Re: ports/7549
Date: Wed, 19 Aug 1998 17:29:17 -0700 (PDT)

  * gtkgl was committed as gtkql.. 
 
 Bwahaha. ;)
 
  * 				  I know that repository copies and deletes
  * and other stuff is wierd/hard/impossiblewith cvsup, but could this be
  * changed/fixed.
 
 Go ahead and cvs remove - cvs import it again, Vanilla.  No need for a
 repository copy (there's no history to preserve).
 
 Satoshi
>Unformatted:
