New -as mkisofs option --norock
This commit is contained in:
@ -575,7 +575,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
||||
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
||||
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
||||
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
||||
"--no_rc",
|
||||
"--no_rc", "--norock"
|
||||
""
|
||||
};
|
||||
static char arg1_options[][41]= {
|
||||
@ -759,6 +759,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
||||
" -quiet Run quietly",
|
||||
" -R, -rock Generate Rock Ridge directory information",
|
||||
" -r, -rational-rock Generate rationalized Rock Ridge directory information",
|
||||
" --norock Disable Rock Ridge. (Strongly discouraged !)",
|
||||
" --hardlinks Record eventual hard link relations of files",
|
||||
" --acl Record eventual ACLs of files",
|
||||
" --xattr Record eventual user space xattr of files",
|
||||
@ -1012,10 +1013,13 @@ int Xorriso_genisofs_fused_options(struct XorrisO *xorriso, char *whom,
|
||||
continue;
|
||||
Xorriso_relax_compliance(xorriso, "omit_version", 0);
|
||||
} else if(*cpt == 'R') {
|
||||
/* inavoidable */;
|
||||
if(flag & 2)
|
||||
continue;
|
||||
xorriso->do_rockridge= 1;
|
||||
} else if(*cpt == 'r') {
|
||||
if(flag & 2)
|
||||
continue;
|
||||
xorriso->do_rockridge= 1;
|
||||
*lower_r= 1;
|
||||
} else if(*cpt == 'T') {
|
||||
/* ignored */;
|
||||
@ -1453,9 +1457,13 @@ illegal_c:;
|
||||
continue;
|
||||
if(strcmp(argpt, "-version")==0) {
|
||||
/* was already handled in first argument scan */;
|
||||
|
||||
} else if(strcmp(argpt, "--norock")==0) {
|
||||
xorriso->do_rockridge= 0;
|
||||
} else if(strcmp(argpt, "-R")==0 || strcmp(argpt, "-rock")==0) {
|
||||
/* ok */;
|
||||
ret= Xorriso_genisofs_fused_options(xorriso, whom, "R",
|
||||
&option_d, &iso_level, &lower_r, ra_text, 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_2;
|
||||
} else if(strcmp(argpt, "-r")==0 || strcmp(argpt, "-rational-rock")==0){
|
||||
ret= Xorriso_genisofs_fused_options(xorriso, whom, "r",
|
||||
&option_d, &iso_level, &lower_r, ra_text, 0);
|
||||
|
Reference in New Issue
Block a user