Use the fstype obtained from the GEOM dumpconf output to set the fstype

of BSD part chunks when opening a disk.

Reviewed by:	phk
MFC after:	2 days
This commit is contained in:
jhb 2003-01-10 19:45:10 +00:00
parent 599be87acd
commit f33a98ea8f

View File

@ -313,7 +313,7 @@ Int_Open_Disk(const char *name)
break;
}
} else if (!strcmp(t, "BSD"))
i = Add_Chunk(d, off, len, n, part, 0, 0, 0);
i = Add_Chunk(d, off, len, n, part, ty, 0, 0);
else if (!strcmp(t, "PC98")) {
switch (ty & 0x7f) {
case 0x14: