diff options
author | phk <phk@FreeBSD.org> | 2003-07-29 10:09:13 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-29 10:09:13 +0000 |
commit | 2d9e322722014438e1fb65af6b644a56b99e8680 (patch) | |
tree | d7167e4995d1a863ee3dca2d3856439f3082e0ff /sys/geom/geom_mbr.c | |
parent | 8760f74f829c206d8169aab818520b692245bb33 (diff) | |
download | FreeBSD-src-2d9e322722014438e1fb65af6b644a56b99e8680.zip FreeBSD-src-2d9e322722014438e1fb65af6b644a56b99e8680.tar.gz |
Implement DOSPTYP_EXTLBA more completely: loop until we find no more
partitions.
Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
PR: 53719
Diffstat (limited to 'sys/geom/geom_mbr.c')
-rw-r--r-- | sys/geom/geom_mbr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index 3abcf76..7d5994a 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -425,7 +425,8 @@ g_mbrext_taste(struct g_class *mp, struct g_provider *pp, int insist __unused) } 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; |