Date: Wed, 25 Jun 2003 14:22:10 +0200 (CEST) From: Cejka Rudolf <cejkar@fit.vutbr.cz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: phk@FreeBSD.org Subject: kern/53719: [PATCH] GEOM: Just first DOS_EXTLBA partition is recognized Message-ID: <200306251222.h5PCMAC7078343@kazi.fit.vutbr.cz> Resent-Message-ID: <200306251230.h5PCUAOf032921@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306251222.h5PCMAC7078343>