New command -ecma119_map
This commit is contained in:
@ -346,6 +346,26 @@ int Xorriso_option_early_stdio_test(struct XorrisO *xorriso, char *mode,
|
||||
}
|
||||
|
||||
|
||||
/* Command -ecma119_map */
|
||||
int Xorriso_option_ecma119_map(struct XorrisO *xorriso, char *mode, int flag)
|
||||
{
|
||||
if(strcmp(mode, "unmapped") == 0)
|
||||
xorriso->ecma119_map= 0;
|
||||
else if(strcmp(mode, "stripped") == 0)
|
||||
xorriso->ecma119_map= 1;
|
||||
else if(strcmp(mode, "uppercase") == 0)
|
||||
xorriso->ecma119_map= 2;
|
||||
else if(strcmp(mode, "lowercase") == 0)
|
||||
xorriso->ecma119_map= 3;
|
||||
else {
|
||||
sprintf(xorriso->info_text, "-ecma119_map: unknown mode '%s'", mode);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
/* Option -eject */
|
||||
/* @param flag bit0=do not report toc of eventually remaining drives
|
||||
*/
|
||||
@ -1635,7 +1655,7 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
" Set the read speed. Default is \"none\" = do not set speed",
|
||||
" before reading.",
|
||||
" -load \"session\"|\"track\"|\"lba\"|\"sbsector\"|\"volid\"|\"auto\" id",
|
||||
" Load a particular (outdated) ISO image from a -dev or",
|
||||
" Load a particular (outdated) ISO session from a -dev or",
|
||||
" -indev which hosts more than one session.",
|
||||
" -displacement [-]block_address",
|
||||
" When loading ISO tree or reading data files compensate a",
|
||||
@ -1668,13 +1688,16 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
|
||||
" Enable or disable reading and writing of ACLs.",
|
||||
" -xattr \"on\"|\"off\"",
|
||||
" Enable or disable reading and writing of xattr.",
|
||||
" -md5 \"on\"|\"all\"|\"off\"",
|
||||
" Enable or disable processing of MD5 checksums.",
|
||||
" -for_backup",
|
||||
" Shortcut for: -hardlinks on -acl on -xattr on -md5 on",
|
||||
" -ecma119_map \"unmapped\"|\"stripped\"|\"uppercase\"|\"lowercase\"",
|
||||
" Choose conversion of file names if neither Rock Ridge",
|
||||
" nor Joliet is present in the loaded ISO session.",
|
||||
" -disk_dev_ino \"on\"|\"ino_only\"|\"off\"",
|
||||
" Enable or disable recording of disk file dev_t and ino_t",
|
||||
" and their use in file comparison.",
|
||||
" -md5 \"on\"|\"all\"|\"off\"",
|
||||
" Enable or disable processing of MD5 checksums.",
|
||||
" -scdbackup_tag list_path record_name",
|
||||
" Enable production of scdbackup tag with -md5 on",
|
||||
" -ban_stdio_write",
|
||||
|
Reference in New Issue
Block a user