|
|
|
@ -2140,9 +2140,17 @@ static int Xorriso_scan_report_lines(struct XorrisO *xorriso,
|
|
|
|
|
|
|
|
|
|
if(high_block < num[1] && num[2] > 0 && !gpts[idx].is_gap) { |
|
|
|
|
for(mbr_idx = 0; mbr_idx < mbr_count; mbr_idx++) { |
|
|
|
|
if(mbrpts[mbr_idx].start_block == num[1] && |
|
|
|
|
mbrpts[mbr_idx].block_count == num[2]) |
|
|
|
|
if(mbrpts[mbr_idx].start_block == num[1]) { |
|
|
|
|
if(mbrpts[mbr_idx].block_count != num[2] && !(flag & 1)) { |
|
|
|
|
sprintf(xorriso->info_text, |
|
|
|
|
"GPT partition %d has same start block as MBR partition %d but different block count (%.f <> %.f)", |
|
|
|
|
idx + 1, mbr_idx + 1, num[2], |
|
|
|
|
(double) mbrpts[mbr_idx].block_count); |
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", |
|
|
|
|
0); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(mbr_idx >= mbr_count) { |
|
|
|
|
if(appended_as_gpt == 1) { |
|
|
|
|