New -md5 modes load_check_off and load_check_on
This commit is contained in:
@ -899,7 +899,7 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
||||
int do_print_size= 0, fd, idx, iso_level= 1, emul_boot= 2;
|
||||
int option_b= 0, was_failure= 0, fret, lower_r= 0, zero= 0;
|
||||
int dir_mode= -1, file_mode= -1, count, partition_number, allow_dir_id_ext= 1;
|
||||
int root_seen= 0;
|
||||
int root_seen= 0, do_md5_mem;
|
||||
mode_t mode_and, mode_or;
|
||||
int with_boot_image= 0, with_cat_path= 0, with_emul_toc= 0;
|
||||
int old_root_md5= 1, old_root_dev= 0, old_root_ino= 1;
|
||||
@ -1188,7 +1188,12 @@ illegal_c:;
|
||||
Xorriso_option_hardlinks(xorriso, "without_update", 0);
|
||||
}
|
||||
if(indev[0]) {
|
||||
do_md5_mem= xorriso->do_md5;
|
||||
if(xorriso->do_md5 & 1) /* MD5 loading is enabled */
|
||||
xorriso->do_md5|= 32; /* Do not check tags of superblock,tree,session
|
||||
because growisofs preserves the first sb tag.*/
|
||||
ret= Xorriso_option_dev(xorriso, indev, 1);
|
||||
xorriso->do_md5= do_md5_mem;
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
}
|
||||
|
Reference in New Issue
Block a user