New -stdio_sync option "end", -as mkisofs default is now --stdio_sync "off"

This commit is contained in:
2014-04-08 09:18:14 +00:00
parent 9343e1dd95
commit a61a2de957
14 changed files with 168 additions and 141 deletions

View File

@ -82,7 +82,7 @@ int Xorriso_cdrskin_help(struct XorrisO *xorriso, int flag)
"\twrite_start_address=#\t\twrite to byte address on DVD+RW, BD-RE",
"\tstream_recording=on|number\ttry to get full speed on DVD-RAM, BD",
"\tdvd_obs=default|32k|64k\t\tbytes per DVD/BD write operation",
"\tstdio_sync=on|off|number\twhether to fsync output to \"stdio:\"",
"\tstdio_sync=on|off|end|number\twhether to fsync output to \"stdio:\"",
"\t--no_rc\t\tDo not execute xorriso startup files",
"\t-help\t\tprint this text to stderr and exit emulation",
"Actually this is the integrated ISO RockRidge filesystem manipulator xorriso",
@ -1156,6 +1156,10 @@ int Xorriso_genisofs_path_pecul(struct XorrisO *xorriso, int *was_path,
/* mkisofs records mtime in ECMA-119 and Joliet
*/
Xorriso_relax_compliance(xorriso, "rec_mtime", 0);
/* mkisofs is substantially faster than xorriso by not fsyncing
*/
if(xorriso->stdio_sync_is_default)
Xorriso_option_stdio_sync(xorriso, "off", 0);
Xorriso_free_meM(sfe);
ret= 1;