From c9d3021a9228c0695d92fa1cef686f30a0bf38ae Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sat, 31 Jul 2004 01:17:20 +0000 Subject: [PATCH] Allow slice creation on providers from MIRROR class. This should allow mounting root file system from a mirror. --- sys/geom/geom_mbr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index 59a699c8acca..8d4d262bb3b1 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -247,6 +247,7 @@ g_mbr_taste(struct g_class *mp, struct g_provider *pp, int insist) /* XXX: phk think about this! */ if (gp->rank != 2 && strcmp(pp->geom->class->name, "LABEL") != 0 && + strcmp(pp->geom->class->name, "MIRROR") != 0 && strcmp(pp->geom->class->name, "NOP") != 0) { break; }