Implemented -as cdrecord -V, new -as mkisofs option --no-emul-toc

master
Thomas Schmitt 13 years ago
parent b69f1c5b66
commit 1482eb02f1
  1. 7
      xorriso/emulators.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -108,7 +108,7 @@ int Xorriso_cdrskin(struct XorrisO *xorriso, char *whom, int argc, char **argv,
""
};
static char ignored_full_options[][41]= {
"-d", "-Verbose", "-V", "-silent", "-s", "-setdropts", "-prcap",
"-d", "-silent", "-s", "-setdropts", "-prcap",
"-reset", "-abort", "-overburn", "-ignsize", "-useinfo",
"-fix", "-nofix",
"-raw", "-raw96p", "-raw16",
@ -306,6 +306,8 @@ no_volunteer:;
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
ret= 0; goto ex;
}
} else if(strcmp(argv[i], "-V")==0 || strcmp(argv[i],"-Verbose")==0) {
Xorriso_option_scsi_log(xorriso, "on", 0);
} else if(strcmp(argv[i], "-v")==0 || strcmp(argv[i],"-verbose")==0) {
do_verbous++;
} else if(strcmp(argv[i], "-vv")==0) {
@ -613,6 +615,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
#endif
" --sort-weight NUMBER FILE Set LBA weight number to file or file tree",
" --stdio_sync on|off|number Control forced output to disk files",
" --no-emul-toc Save 64 kB size on random access output files",
" -z, -transparent-compression",
" Enable transparent compression of files",
" -v, -verbose Verbose",
@ -1029,6 +1032,8 @@ not_enough_args:;
} else if(strcmp(argv[i], "-z")==0 ||
strcmp(argv[i], "-transparent-compression")==0) {
/* was already handled in first argument scan */;
} else if(strcmp(argv[i], "--no-emul-toc")==0) {
xorriso->no_emul_toc|= 1;
} else if(argv[i][0]=='-' && argv[i][1]!=0) {
sprintf(xorriso->info_text, "-as %s: Unknown option %s",
whom, Text_shellsafe(argv[i], sfe, 0));

@ -1 +1 @@
#define Xorriso_timestamP "2010.05.23.072616"
#define Xorriso_timestamP "2010.05.23.072845"

Loading…
Cancel
Save