kern/53719: [PATCH] GEOM: Just first DOS_EXTLBA partition is
recognized
Cejka Rudolf
cejkar at fit.vutbr.cz
Wed Jun 25 05:30:16 PDT 2003
>Number: 53719
>Category: kern
>Synopsis: [PATCH] GEOM: Just first DOS_EXTLBA partition is recognized
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 25 05:30:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Rudolf Cejka
>Release: FreeBSD-current
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:
FreeBSD-current
>Description:
I have a DOS EXT LBA partition with several other partitions (all as EXT LBA
in the chain), but just first is recognized, because continuation is allowed
just for DOS EXT (non-LBA). Following patch helps to find all extended
partitions on my disk, but I'm not sure, if it is sufficient - however,
it seems that it works.
>How-To-Repeat:
>Fix:
$FreeBSD: src/sys/geom/geom_mbr.c,v 1.53 2003/06/11 06:49:15 obrien Exp $"
--- geom_mbr.c.orig Fri Jun 13 15:11:48 2003
+++ geom_mbr.c Wed Jun 25 13:34:30 2003
@@ -425,7 +425,8 @@
}
if (dp[1].dp_flag != 0)
break;
- if (dp[1].dp_typ != DOSPTYP_EXT)
+ if (dp[1].dp_typ != DOSPTYP_EXT &&
+ dp[1].dp_typ != DOSPTYP_EXTLBA)
break;
if (dp[1].dp_size == 0)
break;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list