We have now so many GEOM classes that it is better to just skip unknown
classes than exiting. Reviewed by: le OK'ed by: phk
This commit is contained in:
parent
4c2ca0f7c8
commit
08aa5a1ddb
@ -257,20 +257,10 @@ Int_Open_Disk(const char *name, char *conftxt)
|
||||
}
|
||||
} else if (!strcmp(t, "GPT"))
|
||||
i = Add_Chunk(d, off, len, n, ty, 0, 0, 0);
|
||||
else if (!strcmp(t, "BDE"))
|
||||
; /* nothing */
|
||||
else if (!strcmp(t, "CCD"))
|
||||
; /* nothing */
|
||||
else if (!strcmp(t, "APPLE"))
|
||||
i = Add_Chunk(d, off, len, n, apple, 0, 0, sn);
|
||||
else if (!strcmp(t, "STRIPE"))
|
||||
; /* nothing */
|
||||
else if (strstr(t, "VINUM") != NULL)
|
||||
; /* nothing */
|
||||
else {
|
||||
printf("BARF %d\n", __LINE__);
|
||||
exit(0);
|
||||
}
|
||||
else
|
||||
; /* Ignore unknown classes. */
|
||||
}
|
||||
/* PLATFORM POLICY BEGIN ------------------------------------- */
|
||||
/* We have a chance to do things on a blank disk here */
|
||||
|
Loading…
Reference in New Issue
Block a user