From nobody@FreeBSD.org  Fri May 11 07:05:43 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5273C37B422
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 May 2001 07:05:43 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4BE5hd94382;
	Fri, 11 May 2001 07:05:43 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105111405.f4BE5hd94382@freefall.freebsd.org>
Date: Fri, 11 May 2001 07:05:43 -0700 (PDT)
From: rubens_ramos@yahoo.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: fdisk does not recognize Linux extended partitions (0x85)
X-Send-Pr-Version: www-1.0

>Number:         27268
>Category:       bin
>Synopsis:       fdisk does not recognize Linux extended partitions (0x85)
>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:   Fri May 11 07:10:03 PDT 2001
>Closed-Date:    Fri Jan 30 06:37:49 PST 2004
>Last-Modified:  Fri Jan 30 06:37:49 PST 2004
>Originator:     Rubens Ramos
>Release:        4.2
>Organization:
None
>Environment:
FreeBSD hal9000.home.net 4.2-RELEASE FreeBSD 4.2-RELEASE #17: Fri May 11 22:11:42 CST 2001     root@hal9000.home.net:/usr/src/sys/compile/MYKERNEL  i386
>Description:
/sbin/fdisk does not recognize linux extended partitons. I am also sending
another PR against the kernel, to be able to mount extended linux 
partitions.

I am sending the uuencoded patch to fdisk.
>How-To-Repeat:
just type
> fdisk <linux extended partition>

It will show "unrecognized partition" for the linux partition.
>Fix:
begin 644 fdisk
M26YD97@Z('-B:6XO:3,X-B]F9&ES:R]F9&ES:RYC"CT]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T*4D-3(&9I;&4Z("]H;VUE+VYC=G,O<W)C+W-B:6XO:3,X-B]F
M9&ES:R]F9&ES:RYC+'8*<F5T<FEE=FEN9R!R979I<VEO;B`Q+C$N,2XQ"F1I
M9F8@+6,@+7(Q+C$N,2XQ(&9D:7-K+F,**BHJ('-B:6XO:3,X-B]F9&ES:R]F
M9&ES:RYC"3(P,#$O,#4O,3$@,#DZ-#@Z,3$),2XQ+C$N,0HM+2T@<V)I;B]I
M,S@V+V9D:7-K+V9D:7-K+F,),C`P,2\P-2\Q,2`P.3HU-#HR-@HJ*BHJ*BHJ
M*BHJ*BHJ*BH**BHJ(#$V."PQ-S,@*BHJ*@HM+2T@,38X+#$W-"`M+2TM"B`@
M"2Q[,'@X,2P@(DUI;FEX(#$N-&(@+BXN(#$N-2XQ,")]"B`@"2Q[,'@X,BP@
M(DQI;G5X('-W87`@;W(@4V]L87)I<R!X.#8B?0H@(`DL>S!X.#,L("),:6YU
M>"!F:6QE<WES=&5M(GT**R`)+'LP>#@U+"`B3&EN=7@@17AT96YD960@4&%R
M=&ET:6]N(GT*("`)+'LP>#DS+"`B06UO96)A(&9I;&5S>7-T96TB?0H@(`DL
M>S!X.30L(")!;6]E8F$@8F%D(&)L;V-K('1A8FQE(GT*("`)+'LP>#E&+"`B
)0E-$+T]3(GT*
`
end

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: harti 
State-Changed-When: Fri Jan 30 06:37:29 PST 2004 
State-Changed-Why:  
Committed and MFC'ed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=27268 
>Unformatted:
