Making use of experimental libisofs calls _rrip_version_1_10() _dir_rec_mtime()
This commit is contained in:
parent
8cb8c11ede
commit
3f08f2cafc
@ -414,6 +414,8 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
|||||||
iso_write_opts_set_relaxed_vol_atts(wopts, 1);
|
iso_write_opts_set_relaxed_vol_atts(wopts, 1);
|
||||||
iso_write_opts_set_joliet_longer_paths(wopts, opts->joliet_longer_paths);
|
iso_write_opts_set_joliet_longer_paths(wopts, opts->joliet_longer_paths);
|
||||||
iso_write_opts_set_always_gmt(wopts, opts->always_gmt);
|
iso_write_opts_set_always_gmt(wopts, opts->always_gmt);
|
||||||
|
iso_write_opts_set_rrip_version_1_10(wopts, opts->rrip_version_1_10);
|
||||||
|
iso_write_opts_set_dir_rec_mtime(wopts, opts->dir_rec_mtime);
|
||||||
iso_write_opts_set_sort_files(wopts, opts->sort_files);
|
iso_write_opts_set_sort_files(wopts, opts->sort_files);
|
||||||
iso_write_opts_set_replace_mode(wopts, opts->replace_dir_mode,
|
iso_write_opts_set_replace_mode(wopts, opts->replace_dir_mode,
|
||||||
opts->replace_file_mode, opts->replace_uid, opts->replace_gid);
|
opts->replace_file_mode, opts->replace_uid, opts->replace_gid);
|
||||||
@ -775,6 +777,8 @@ int isoburn_igopt_new(struct isoburn_imgen_opts **new_o, int flag)
|
|||||||
o->allow_full_ascii= 0;
|
o->allow_full_ascii= 0;
|
||||||
o->joliet_longer_paths= 0;
|
o->joliet_longer_paths= 0;
|
||||||
o->always_gmt= 0;
|
o->always_gmt= 0;
|
||||||
|
o->rrip_version_1_10= 0;
|
||||||
|
o->dir_rec_mtime= 0;
|
||||||
o->sort_files= 0;
|
o->sort_files= 0;
|
||||||
o->replace_dir_mode= 0;
|
o->replace_dir_mode= 0;
|
||||||
o->replace_file_mode= 0;
|
o->replace_file_mode= 0;
|
||||||
@ -841,7 +845,9 @@ int isoburn_igopt_set_relaxed(struct isoburn_imgen_opts *o, int relax)
|
|||||||
o->allow_lowercase= !!(relax&32);
|
o->allow_lowercase= !!(relax&32);
|
||||||
o->allow_full_ascii= !!(relax&64);
|
o->allow_full_ascii= !!(relax&64);
|
||||||
o->joliet_longer_paths= !!(relax&128);
|
o->joliet_longer_paths= !!(relax&128);
|
||||||
o->always_gmt= !!(relax&256);
|
o->always_gmt= !!(relax & isoburn_igopt_always_gmt);
|
||||||
|
o->rrip_version_1_10= !!(relax & isoburn_igopt_rrip_version_1_10);
|
||||||
|
o->dir_rec_mtime= !!(relax & isoburn_igopt_dir_rec_mtime);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -362,6 +362,19 @@ struct isoburn_imgen_opts {
|
|||||||
*/
|
*/
|
||||||
unsigned int always_gmt :1;
|
unsigned int always_gmt :1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write Rock Ridge info as of specification RRIP-1.10 rather than
|
||||||
|
* RRIP-1.12: signature "RRIP_1991A" rather than "IEEE_1282",
|
||||||
|
* field PX without file serial number
|
||||||
|
*/
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
unsigned int dir_rec_mtime :1;
|
||||||
|
|
||||||
unsigned int sort_files:1;
|
unsigned int sort_files:1;
|
||||||
/**< If files should be sorted based on their weight. */
|
/**< If files should be sorted based on their weight. */
|
||||||
|
|
||||||
|
@ -849,6 +849,14 @@ int isoburn_igopt_get_extensions(struct isoburn_imgen_opts *o, int *ext);
|
|||||||
systems which typically appear in mounted ISO images as if
|
systems which typically appear in mounted ISO images as if
|
||||||
the timezone shift from GMT was applied twice
|
the timezone shift from GMT was applied twice
|
||||||
(e.g. in New York 22:36 becomes 17:36).
|
(e.g. in New York 22:36 becomes 17:36).
|
||||||
|
bit9= rrip_version_1_10
|
||||||
|
Write Rock Ridge info as of specification RRIP-1.10 rather
|
||||||
|
than RRIP-1.12: signature "RRIP_1991A" rather than
|
||||||
|
"IEEE_1282", field PX without file serial number.
|
||||||
|
bit10= dir_rec_mtime
|
||||||
|
Store as ECMA-119 Directory Record timestamp the mtime
|
||||||
|
of the source rather than the image creation time.
|
||||||
|
|
||||||
@return 1 success, <=0 failure
|
@return 1 success, <=0 failure
|
||||||
*/
|
*/
|
||||||
#define isoburn_igopt_omit_version_numbers 1
|
#define isoburn_igopt_omit_version_numbers 1
|
||||||
@ -860,6 +868,8 @@ int isoburn_igopt_get_extensions(struct isoburn_imgen_opts *o, int *ext);
|
|||||||
#define isoburn_igopt_allow_full_ascii 64
|
#define isoburn_igopt_allow_full_ascii 64
|
||||||
#define isoburn_igopt_joliet_longer_paths 128
|
#define isoburn_igopt_joliet_longer_paths 128
|
||||||
#define isoburn_igopt_always_gmt 256
|
#define isoburn_igopt_always_gmt 256
|
||||||
|
#define isoburn_igopt_rrip_version_1_10 512
|
||||||
|
#define isoburn_igopt_dir_rec_mtime 1024
|
||||||
int isoburn_igopt_set_relaxed(struct isoburn_imgen_opts *o, int relax);
|
int isoburn_igopt_set_relaxed(struct isoburn_imgen_opts *o, int relax);
|
||||||
int isoburn_igopt_get_relaxed(struct isoburn_imgen_opts *o, int *relax);
|
int isoburn_igopt_get_relaxed(struct isoburn_imgen_opts *o, int *relax);
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.11.15.232058"
|
#define Xorriso_timestamP "2008.11.21.160019"
|
||||||
|
Loading…
Reference in New Issue
Block a user