Commit 022c2d6a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix for skipping "unknown" DOS slices; Add the entire slice as a

"skip" region so that you can have an unknown slice anyplace on the
disk and it will just look like a free region to be skipped over.
parent 210aa1ec
......@@ -302,6 +302,10 @@ read_image()
case DOSPTYP_LINUX:
rval = read_linuxslice(i, start, size);
break;
default:
printf(" Slice %d is an unknown type. Skipping ...\n",
i + 1 /* DOS Numbering */);
addskip(start, size);
}
if (rval)
return rval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment