New option -scdbackup_tag
This commit is contained in:
@@ -702,7 +702,7 @@ int Xorriso_get_drive_handles(struct XorrisO *xorriso,
|
||||
ret= burn_drive_get_drive_role(*drive);
|
||||
if(ret != 1) {
|
||||
sprintf(xorriso->info_text,
|
||||
"Output device is not an MMC drive. Desired operation does not apply");
|
||||
"Output device is not an MMC drive. Desired operation does not apply.");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
return(2);
|
||||
}
|
||||
@@ -1830,7 +1830,8 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
isoburn_igopt_set_over_ugid(sopts, 0, 0, (uid_t) 0, (gid_t) 0);
|
||||
isoburn_igopt_set_out_charset(sopts, out_cs);
|
||||
isoburn_igopt_set_fifo_size(sopts, xorriso->fs * 2048);
|
||||
|
||||
isoburn_igopt_set_scdbackup_tag(sopts, xorriso->scdbackup_tag_name,
|
||||
xorriso->scdbackup_tag_time);
|
||||
if(image!=NULL &&
|
||||
strlen(Xorriso_program_versioN)+strlen(Xorriso_timestamP)<80) {
|
||||
sprintf(xorriso_id, "XORRISO-%s %s",
|
||||
@@ -5870,18 +5871,6 @@ int Xorriso_list_formats(struct XorrisO *xorriso, int flag)
|
||||
return(0);
|
||||
if(ret == 2)
|
||||
goto ex;
|
||||
|
||||
#ifdef NIX
|
||||
/* <<< obsoleted by bit0 of Xorriso_get_drive_handles */
|
||||
ret= burn_drive_get_drive_role(drive);
|
||||
if(ret!=1) {
|
||||
sprintf(xorriso->info_text,
|
||||
"output device is not an MMC drive. -list_format does not apply");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
|
||||
ret= 2; goto ex;
|
||||
}
|
||||
#endif /* NIX */
|
||||
|
||||
ret = burn_disc_get_formats(drive, &status, &size, &dummy,
|
||||
&num_formats);
|
||||
if(ret<=0) {
|
||||
|
Reference in New Issue
Block a user