Improved interpretation of -check_media min_lba=
This commit is contained in:
parent
ce82f8a086
commit
e16695de4d
@ -886,7 +886,7 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
|
|||||||
struct burn_multi_caps *caps= NULL;
|
struct burn_multi_caps *caps= NULL;
|
||||||
struct burn_drive *drive;
|
struct burn_drive *drive;
|
||||||
enum burn_disc_status s;
|
enum burn_disc_status s;
|
||||||
char mem_text[80];
|
char mem_text[80], *num_free_text;
|
||||||
off_t start_byte= 0, num_free= 0, size;
|
off_t start_byte= 0, num_free= 0, size;
|
||||||
unsigned dummy;
|
unsigned dummy;
|
||||||
struct isoburn_toc_disc *disc= NULL;
|
struct isoburn_toc_disc *disc= NULL;
|
||||||
@ -1042,8 +1042,12 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
|
|||||||
lba= num_blocks;
|
lba= num_blocks;
|
||||||
}
|
}
|
||||||
|
|
||||||
sprintf(respt, "Media blocks : %d readable , %d writable , %d overall\n",
|
if(drive_role == 4)
|
||||||
num_data, (int) num_free, lba);
|
num_free_text = "unused";
|
||||||
|
else
|
||||||
|
num_free_text = "writable";
|
||||||
|
sprintf(respt, "Media blocks : %d readable , %d %s , %d overall\n",
|
||||||
|
num_data, (int) num_free, num_free_text, lba);
|
||||||
Xorriso_toc_line(xorriso, flag & 8);
|
Xorriso_toc_line(xorriso, flag & 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2635,8 +2639,9 @@ libburn_whole_disc:;
|
|||||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||||
{ret= 0; goto ex;}
|
{ret= 0; goto ex;}
|
||||||
}
|
}
|
||||||
|
blocks-= start_lba;
|
||||||
xorriso->pacifier_total= blocks;
|
xorriso->pacifier_total= blocks;
|
||||||
ret= Xorriso_check_interval(xorriso, *spotlist, job, 0, blocks,
|
ret= Xorriso_check_interval(xorriso, *spotlist, job, start_lba, blocks,
|
||||||
read_chunk, 0, 0);
|
read_chunk, 0, 0);
|
||||||
if(ret <= 0)
|
if(ret <= 0)
|
||||||
goto ex;
|
goto ex;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2012.01.15.104012"
|
#define Xorriso_timestamP "2012.01.18.093532"
|
||||||
|
Loading…
Reference in New Issue
Block a user