From jbackus@plex.nl  Sun Aug 16 06:00:50 1998
Received: from gw-nl1.philips.com (gw-nl1.philips.com [192.68.44.33])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08733
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Aug 1998 06:00:47 -0700 (PDT)
          (envelope-from jbackus@plex.nl)
Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1])
          by gw-nl1.philips.com with ESMTP id PAA27223
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Aug 1998 15:00:08 +0200 (MEST)
          (envelope-from jbackus@plex.nl)
Received: from jos.mp-c.com ([172.16.121.59]) 
	by smtprelay-nl1.philips.com (8.8.5/8.6.10-1.2.2m-970826) with ESMTP id PAA02621
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Aug 1998 15:00:07 +0200 (MET DST)
Received: (qmail 1723 invoked by uid 1000); 16 Aug 1998 12:04:43 -0000
Message-Id: <19980816120443.1722.qmail@jos.mp-c.com>
Date: 16 Aug 1998 12:04:43 -0000
From: jos.backus@nl.origin-it.com
Reply-To: Jos Backus <jbackus@plex.nl>
To: FreeBSD-gnats-submit@freebsd.org
Subject: fdisk does not recognize BSD/OS partitions
X-Send-Pr-Version: 3.2

>Number:         7629
>Category:       i386
>Synopsis:       fdisk does not recognize BSD/OS partitions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 06:10:00 PDT 1998
>Closed-Date:    Thu Nov 5 19:38:35 PST 1998
>Last-Modified:  Thu Nov  5 19:39:05 PST 1998
>Originator:     Jos Backus
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Origin B.V.
>Environment:

	-current and -stable (but didn't check -stable)

>Description:

	fdisk doesn't identify a BSD/OS [23].x partition, it labels it
        ``unknown'' instead.

>How-To-Repeat:

	Run fdisk on a disk containing BSD/OS partitions.

>Fix:
	
	Add BSD/OS partition type to /usr/src/sbin/i386/fdisk/fdisk.c:

--- fdisk.c.orig        Mon Jul  6 08:44:36 1998
+++ fdisk.c     Sat Aug 15 20:57:52 1998
@@ -196,6 +196,7 @@
        ,{0x83, "Linux filesystem"}
        ,{0x93, "Amoeba filesystem"}
        ,{0x94, "Amoeba bad block table"}
+       ,{0x9F, "BSD/OS"}
        ,{0xA5, "FreeBSD/NetBSD/386BSD"}
        ,{0xA6, "OpenBSD"}
        ,{0xA7, "NEXTSTEP"}

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Thu Nov 5 19:38:35 PST 1998 
State-Changed-Why:  
Patch committed to rev 1.25 of "src/sbin/i386/fdisk/fdisk.c", thanks! 
>Unformatted:
