Improved interpretation of -check_media min_lba=

master
Thomas Schmitt 11 years ago
parent ce82f8a086
commit e16695de4d
  1. 13
      xorriso/drive_mgt.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -886,7 +886,7 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
struct burn_multi_caps *caps= NULL;
struct burn_drive *drive;
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;
unsigned dummy;
struct isoburn_toc_disc *disc= NULL;
@ -1042,8 +1042,12 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
lba= num_blocks;
}
sprintf(respt, "Media blocks : %d readable , %d writable , %d overall\n",
num_data, (int) num_free, lba);
if(drive_role == 4)
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);
}
@ -2635,8 +2639,9 @@ libburn_whole_disc:;
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
blocks-= start_lba;
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);
if(ret <= 0)
goto ex;

@ -1 +1 @@
#define Xorriso_timestamP "2012.01.15.104012"
#define Xorriso_timestamP "2012.01.18.093532"

Loading…
Cancel
Save