Enabled -as cdrecord blank=as_needed
This commit is contained in:
parent
e6d9582ad9
commit
622445f865
@ -8222,6 +8222,7 @@ static char blank_help[][80]= {
|
|||||||
"\tdisk\t\tblank the entire disk",
|
"\tdisk\t\tblank the entire disk",
|
||||||
"\tfast\t\tminimally blank the entire disk",
|
"\tfast\t\tminimally blank the entire disk",
|
||||||
"\tminimal\t\tminimally blank the entire disk",
|
"\tminimal\t\tminimally blank the entire disk",
|
||||||
|
"\tas_needed\tblank or format media to make it ready for (re-)use",
|
||||||
"\tdeformat\t\tblank a formatted DVD-RW",
|
"\tdeformat\t\tblank a formatted DVD-RW",
|
||||||
"\tdeformat_quickest\tminimally blank a formatted DVD-RW to DAO only",
|
"\tdeformat_quickest\tminimally blank a formatted DVD-RW to DAO only",
|
||||||
"\tformat_overwrite\tformat a DVD-RW to \"Restricted Overwrite\"",
|
"\tformat_overwrite\tformat a DVD-RW to \"Restricted Overwrite\"",
|
||||||
@ -8292,6 +8293,8 @@ no_volunteer:;
|
|||||||
strcpy(blank_mode, cpt);
|
strcpy(blank_mode, cpt);
|
||||||
} else if(strcmp(cpt,"format_overwrite")==0) {
|
} else if(strcmp(cpt,"format_overwrite")==0) {
|
||||||
strcpy(blank_mode, "format_overwrite");
|
strcpy(blank_mode, "format_overwrite");
|
||||||
|
} else if(strcmp(cpt,"as_needed")==0) {
|
||||||
|
strcpy(blank_mode, "as_needed");
|
||||||
} else {
|
} else {
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"-as %s: blank=%s not supported. See blank=help .",
|
"-as %s: blank=%s not supported. See blank=help .",
|
||||||
@ -9982,7 +9985,7 @@ int Xorriso_option_boot_image(struct XorrisO *xorriso, char *form,
|
|||||||
form, treatment);
|
form, treatment);
|
||||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"Allowed with boot_dir= are / , /isolinux . /boot/isolinux");
|
"Allowed with dir= are / , /isolinux . /boot/isolinux");
|
||||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "HINT", 0);
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "HINT", 0);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.10.02.092354"
|
#define Xorriso_timestamP "2008.10.02.092635"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user