New -as cdrecord options -tao -sao -dao
This commit is contained in:
@ -68,6 +68,9 @@ int Xorriso_cdrskin_help(struct XorrisO *xorriso, int flag)
|
||||
"\t-atip\t\tretrieve media state, print \"Is *erasable\"",
|
||||
"\t-multi\t\tgenerate a TOC that allows multi session",
|
||||
"\t-waiti\t\twait until input is available before opening SCSI",
|
||||
"\t-tao\t\tWrite disk in TAO mode.",
|
||||
"\t-dao\t\tWrite disk in SAO mode.",
|
||||
"\t-sao\t\tWrite disk in SAO mode.",
|
||||
"\ttsize=#\t\tannounces exact size of source data",
|
||||
"\tpadsize=#\tAmount of padding",
|
||||
"\t-data\t\tSubsequent tracks are CD-ROM data mode 1 (default)",
|
||||
@ -134,8 +137,8 @@ int Xorriso_cdrskin(struct XorrisO *xorriso, char *whom, int argc, char **argv,
|
||||
"-cdi", "-preemp", "-nopreemp", "-copy", "-nocopy",
|
||||
"-scms", "-shorttrack", "-noshorttrack", "-packet", "-noclose",
|
||||
"-media-info", "-minfo",
|
||||
"-load", "-lock", "-raw96r", "-sao", "-dao", "-swab",
|
||||
"-tao", "-force", "-format",
|
||||
"-load", "-lock", "-raw96r", "-swab",
|
||||
"-force", "-format",
|
||||
|
||||
"--adjust_speed_to_drive", "--allow_emulated_drives", "--allow_setuid",
|
||||
"--allow_untested_media", "--any_track", "--demand_a_drive",
|
||||
@ -245,6 +248,8 @@ no_volunteer:;
|
||||
}
|
||||
} else if(strcmp(argpt, "-checkdrive")==0) {
|
||||
do_checkdrive= 1;
|
||||
} else if(strcmp(argpt, "-dao")==0) {
|
||||
xorriso->do_tao= -1;
|
||||
} else if(strcmp(argpt, "-data")==0) {
|
||||
/* ok */;
|
||||
} else if(strncmp(argpt, "-dev=", 5)==0 ||
|
||||
@ -262,6 +267,10 @@ no_volunteer:;
|
||||
}
|
||||
} else if(strcmp(argpt, "-dummy")==0) {
|
||||
xorriso->do_dummy= 1;
|
||||
} else if(strncmp(argpt, "-dvd_obs=", 9)==0 ||
|
||||
strncmp(argpt, "dvd_obs=", 8)==0) {
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
Xorriso_option_dvd_obs(xorriso, cpt, 0);
|
||||
} else if(strcmp(argpt, "-eject")==0) {
|
||||
do_eject= 1;
|
||||
} else if(strncmp(argpt, "-fs=", 4)==0 || strncmp(argpt, "fs=", 3)==0) {
|
||||
@ -297,34 +306,28 @@ no_volunteer:;
|
||||
ret= Xorriso_option_padding(xorriso, cpt, 0);
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
} else if(strcmp(argpt, "-sao")==0) {
|
||||
xorriso->do_tao= -1;
|
||||
} else if(strcmp(argpt, "-scanbus")==0) {
|
||||
sprintf(xorriso->info_text, "-as %s: Option -scanbus not supported.",
|
||||
whom);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
ret= 0; goto ex;
|
||||
|
||||
/* do_scanbus= 1; */
|
||||
} else if(strncmp(argpt, "-speed=", 7)==0 ||
|
||||
strncmp(argpt, "speed=", 6)==0) {
|
||||
cpt= strchr(argpt, '=')+1;
|
||||
strncpy(speed, cpt, 79);
|
||||
speed[79]= 0;
|
||||
|
||||
} else if(strncmp(argpt, "-stream_recording=", 18)==0 ||
|
||||
strncmp(argpt, "stream_recording=", 17)==0) {
|
||||
cpt= strchr(argpt, '=')+1;
|
||||
Xorriso_option_stream_recording(xorriso, cpt, 0);
|
||||
|
||||
} else if(strncmp(argpt, "-dvd_obs=", 9)==0 ||
|
||||
strncmp(argpt, "dvd_obs=", 8)==0) {
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
Xorriso_option_dvd_obs(xorriso, cpt, 0);
|
||||
|
||||
} else if(strncmp(argpt, "-stdio_sync=", 12)==0 ||
|
||||
strncmp(argpt, "stdio_sync=", 11)==0) {
|
||||
cpt= strchr(argpt, '=') + 1;
|
||||
Xorriso_option_stdio_sync(xorriso, cpt, 0);
|
||||
|
||||
} else if(strcmp(argpt, "-tao")==0) {
|
||||
xorriso->do_tao= 1;
|
||||
} else if(strcmp(argpt, "-toc")==0 || strcmp(argv[i], "--long_toc")==0) {
|
||||
/* intentional: argpt , argv[i] */
|
||||
do_toc= 1;
|
||||
|
Reference in New Issue
Block a user