New API function iso_write_opts_set_dir_rec_mtime() to store the mtime

of the source files in their ECMA-119 Directory Records
This commit is contained in:
2008-11-25 15:31:33 +01:00
parent 698fdec290
commit 14dd988f0f
3 changed files with 39 additions and 1 deletions

View File

@ -112,6 +112,15 @@ struct iso_write_opts {
*/
unsigned int rrip_version_1_10 :1;
/**
* Store as ECMA-119 Directory Record timestamp the mtime of the source
* rather than the image creation time. (The ECMA-119 prescription seems
* to expect that we do have a creation timestamp with the source.
* mkisofs writes mtimes and the result seems more suitable if mounted
* without Rock Ridge support.)
*/
unsigned int dir_rec_mtime :1;
/** If files should be sorted based on their weight. */
unsigned int sort_files :1;
@ -256,6 +265,9 @@ struct ecma119_image
/** Write old fashioned RRIP-1.10 rather than RRIP-1.12 */
unsigned int rrip_version_1_10 :1;
/* Store in ECMA-119 timestamp mtime of source */
unsigned int dir_rec_mtime :1;
/*
* Mode replace. If one of these flags is set, the correspodent values are
* replaced with values below.