"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xorriso/opts_d_h.c" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

opts_d_h.c  (xorriso-1.5.2):opts_d_h.c  (xorriso-1.5.4)
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2017 Thomas Schmitt, <scdbackup@gmx.net> Copyright 2007-2020 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later. Provided under GPL version 2 or later.
This file contains the implementation of commands as mentioned in man page This file contains the implementation of commands as mentioned in man page
or info file derived from xorriso.texi. or info file derived from xorriso.texi.
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../config.h" #include "../config.h"
#endif #endif
skipping to change at line 63 skipping to change at line 63
xorriso->cache_tile_blocks= blocks; xorriso->cache_tile_blocks= blocks;
xorriso->cache_default= to_default; xorriso->cache_default= to_default;
} }
return(ret); return(ret);
} }
/* Options -dev , -indev, -outdev */ /* Options -dev , -indev, -outdev */
/** @param flag bit0= use as indev /** @param flag bit0= use as indev
bit1= use as outdev bit1= use as outdev
bit2= do not -reassure bit2= do not -reassure
bit3= regard overwriteable media as blank bit3= regard overwritable media as blank
bit4= if the drive is a regular disk file: truncate it to bit4= if the drive is a regular disk file: truncate it to
the write start address the write start address
bit5= do not print toc of acquired drive bit5= do not print toc of acquired drive
bit6= do not calm down drive after aquiring it bit6= do not calm down drive after acquiring it
@return <=0 error , 1 success, 2 revoked by -reassure @return <=0 error , 1 success, 2 revoked by -reassure
*/ */
int Xorriso_option_dev(struct XorrisO *xorriso, char *in_adr, int flag) int Xorriso_option_dev(struct XorrisO *xorriso, char *in_adr, int flag)
{ {
int ret; int ret;
char *adr; char *adr;
adr= in_adr; adr= in_adr;
if(strcmp(in_adr, "-")==0) if(strcmp(in_adr, "-")==0)
adr= "stdio:/dev/fd/1"; adr= "stdio:/dev/fd/1";
skipping to change at line 630 skipping to change at line 630
} }
ret= 1; ret= 1;
ex:; ex:;
if(!(flag & (4 | 32))) if(!(flag & (4 | 32)))
Xorriso_destroy_node_array(xorriso, 0); Xorriso_destroy_node_array(xorriso, 0);
Xorriso_free_meM(eff_origin); Xorriso_free_meM(eff_origin);
Xorriso_free_meM(eff_dest); Xorriso_free_meM(eff_dest);
return(ret); return(ret);
} }
/* Command -extract_boot_images */
int Xorriso_option_extract_boot_images(struct XorrisO *xorriso,
char *disk_dir_path, int flag)
{
int ret;
if(xorriso->allow_restore <= 0) {
sprintf(xorriso->info_text,
"-extract_boot_images: image-to-disk copies are not enabled by option -osirrox"
);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
return(0);
}
ret= Xorriso_extract_boot_images(xorriso, disk_dir_path, 0);
return(ret);
}
/* Option -extract_cut */ /* Option -extract_cut */
int Xorriso_option_extract_cut(struct XorrisO *xorriso, char *iso_rr_path, int Xorriso_option_extract_cut(struct XorrisO *xorriso, char *iso_rr_path,
char *start, char *count, char *disk_path, int flag) char *start, char *count, char *disk_path, int flag)
{ {
int ret; int ret;
double num; double num;
off_t startbyte, bytecount; off_t startbyte, bytecount;
num= Scanf_io_size(start, 0); num= Scanf_io_size(start, 0);
if(num<0 || num > 1.0e18) { /* 10^18 = 10^3 ^ 6 < 2^10 ^ 6 = 2^60 */ if(num<0 || num > 1.0e18) { /* 10^18 = 10^3 ^ 6 < 2^10 ^ 6 = 2^60 */
skipping to change at line 1752 skipping to change at line 1769
" -outdev address", " -outdev address",
" Set output drive and use modifying or blind growing.", " Set output drive and use modifying or blind growing.",
" -drive_class \"harmless\"|\"banned\"|\"risky\"|\"clear_list\" disk_pattern", " -drive_class \"harmless\"|\"banned\"|\"risky\"|\"clear_list\" disk_pattern",
" Add a drive path pattern to one of the safety lists or make", " Add a drive path pattern to one of the safety lists or make",
" those lists empty. Defaulty entry in \"risky\" is \"/dev\".", " those lists empty. Defaulty entry in \"risky\" is \"/dev\".",
" -drive_access \"exclusive\"|\"shared\":\"unrestricted\"|\"readonly\"", " -drive_access \"exclusive\"|\"shared\":\"unrestricted\"|\"readonly\"",
" Enable or disable device file locking mechanisms.", " Enable or disable device file locking mechanisms.",
" Enable or disable status and content changes of drive.", " Enable or disable status and content changes of drive.",
" -scsi_dev_family \"default\"|\"sr\"|\"scd\"|\"sg\"", " -scsi_dev_family \"default\"|\"sr\"|\"scd\"|\"sg\"",
" Linux specific: Choose device file type.", " Linux specific: Choose device file type.",
" -read_speed number[\"k/s\"|\"m/s\"|\"[x]CD\"|\"[x]DVD\"|\"[x]BD\"]", " -read_speed number[\"k/s\"|\"[x]CD\"|\"[x]DVD\"|\"[x]BD\"]|keyword",
" Set the read speed. Default is \"none\" = do not set speed", " Set the read speed. Default is \"none\" = do not set speed",
" before reading.", " before reading. Prefix \"soft_force:\" enables slowdown by",
" software.",
" -grow_blindly \"off\"|predicted_nwa", " -grow_blindly \"off\"|predicted_nwa",
" Switch between modifying and blind growing.", " Switch between modifying and blind growing.",
" -load \"session\"|\"track\"|\"lba\"|\"sbsector\"|\"volid\"|\"auto\" id", " -load \"session\"|\"track\"|\"lba\"|\"sbsector\"|\"volid\"|\"auto\" id",
" Load a particular (outdated) ISO session from a -dev or", " Load a particular (outdated) ISO session from a -dev or",
" -indev which hosts more than one session.", " -indev which hosts more than one session.",
" -displacement [-]block_address", " -displacement [-]block_address",
" When loading ISO tree or reading data files compensate a", " When loading ISO tree or reading data files compensate a",
" displacement versus the start address for which the image", " displacement versus the start address for which the image",
" was prepared.", " was prepared.",
" -read_fs \"any\"|\"norock\"|\"nojoliet\"|\"ecma119\"", " -read_fs \"any\"|\"norock\"|\"nojoliet\"|\"ecma119\"",
" Specify which kind of filesystem tree to load if present.", " Specify which kind of filesystem tree to load if present.",
" -rom_toc_scan \"on\"|\"force\"|\"off\"[:\"emul_on\"|\"emul_off\"]", " -rom_toc_scan \"on\"|\"force\"|\"off\"[:\"emul_on\"|\"emul_off\"]",
" [:\"emul_wide\"|\"emul_narrow\"]", " [:\"emul_wide\"|\"emul_narrow\"]",
" Enable scanning for ISO sessions on read-only drives/media", " Enable scanning for ISO sessions on read-only drives/media",
" and on overwriteable media with emulated TOC.", " and on overwritable media with emulated TOC.",
" -calm_drive \"in\"|\"out\"|\"all\"|\"on\"|\"off\"", " -calm_drive \"in\"|\"out\"|\"all\"|\"on\"|\"off\"",
" Reduce drive noise until it gets actually used again.", " Reduce drive noise until it gets actually used again.",
" -assert_volid pattern severity", " -assert_volid pattern severity",
" Accept input image only if its volume id matches pattern.", " Accept input image only if its volume id matches pattern.",
" -charset name Set the character set name to be used for file name", " -charset name Set the character set name to be used for file name",
" conversion from and to media.", " conversion from and to media.",
" -in_charset name", " -in_charset name",
" Like -charset but only for conversion from media.", " Like -charset but only for conversion from media.",
" -auto_charset \"on\"|\"off\"", " -auto_charset \"on\"|\"off\"",
" Enable writing and reading of character set name in image.", " Enable writing and reading of character set name in image.",
skipping to change at line 1800 skipping to change at line 1818
" Enable or disable reading and writing of ACLs.", " Enable or disable reading and writing of ACLs.",
" -xattr \"on\"|\"user\"|\"any\"|\"off\"", " -xattr \"on\"|\"user\"|\"any\"|\"off\"",
" Enable or disable reading and writing of xattr.", " Enable or disable reading and writing of xattr.",
" -md5 \"on\"|\"all\"|\"off\"", " -md5 \"on\"|\"all\"|\"off\"",
" Enable or disable processing of MD5 checksums.", " Enable or disable processing of MD5 checksums.",
" -for_backup", " -for_backup",
" Shortcut for: -hardlinks on -acl on -xattr any -md5 on", " Shortcut for: -hardlinks on -acl on -xattr any -md5 on",
" -ecma119_map \"unmapped\"|\"stripped\"|\"uppercase\"|\"lowercase\"", " -ecma119_map \"unmapped\"|\"stripped\"|\"uppercase\"|\"lowercase\"",
" Choose conversion of file names if neither Rock Ridge", " Choose conversion of file names if neither Rock Ridge",
" nor Joliet is present in the loaded ISO session.", " nor Joliet is present in the loaded ISO session.",
" -joliet_map \"unmapped\"|\"stripped\"",
" Choose conversion of file names if the Joliet tree is read",
" when loading the ISO session.",
" -iso_nowtime \"dynamic\"|timestring", " -iso_nowtime \"dynamic\"|timestring",
" Choose use of current time or a fixed point in time for", " Choose use of current time or a fixed point in time for",
" timestamps where libisofs would normally use the current", " timestamps where libisofs would normally use the current",
" (i.e. dynamic) time.", " (i.e. dynamic) time.",
" -disk_dev_ino \"on\"|\"ino_only\"|\"off\"", " -disk_dev_ino \"on\"|\"ino_only\"|\"off\"",
" Enable or disable recording of disk file dev_t and ino_t", " Enable or disable recording of disk file dev_t and ino_t",
" and their use in file comparison.", " and their use in file comparison.",
" -scdbackup_tag list_path record_name", " -scdbackup_tag list_path record_name",
" Enable production of scdbackup tag with -md5 on", " Enable production of scdbackup tag with -md5 on",
" -ban_stdio_write", " -ban_stdio_write",
" Allow for writing only the usage of optical drives.", " Allow for writing only the usage of optical drives.",
" -early_stdio_test \"on\"|\"appendable_wo\"|\"off\"", " -early_stdio_test \"on\"|\"appendable_wo\"|\"off\"",
" Classify stdio drives by effective access permissions.", " Classify stdio drives by effective access permissions.",
" -data_cache_size number_of_tiles blocks_per_tile", " -data_cache_size number_of_tiles blocks_per_tile",
" Adjust size and granularity of the data read cache.", " Adjust size and granularity of the data read cache.",
" -blank [\"force:\"]\"fast\"|\"all\"|\"deformat\"|\"deformat_quickest\"", " -blank [\"force:\"]\"fast\"|\"all\"|\"deformat\"|\"deformat_quickest\"",
" Blank medium or invalidate ISO image on medium.", " Blank medium or invalidate ISO image on medium.",
" Prefix \"force:\" overrides medium evaluation.", " Prefix \"force:\" overrides medium evaluation.",
" -truncate_overwritable entity id adjust",
" Activate an older session on overwritable medium. Adjust",
" its size to some value not smaller than original old size.",
" -close_damaged \"as_needed\"|\"force\"", " -close_damaged \"as_needed\"|\"force\"",
" Close track and session of damaged medium.", " Close track and session of damaged medium.",
" -format \"as_needed\"|\"full\"|\"fast\"|\"by_index_#\"|\"by_size_#\"", " -format \"as_needed\"|\"full\"|\"fast\"|\"by_index_#\"|\"by_size_#\"",
" Format BD-RE, BD-R, DVD-RAM, DVD-RW, DVD+RW.", " Format BD-RE, BD-R, DVD-RAM, DVD-RW, DVD+RW.",
" -volid volume_id", " -volid volume_id",
" Specifies the volume ID text. (32 chars out of [A-Z0-9_])", " Specifies the volume ID text. (32 chars out of [A-Z0-9_])",
" -volset_id name", " -volset_id name",
" Specifies the volume set id. (128 chars)", " Specifies the volume set id. (128 chars)",
" -publisher name", " -publisher name",
" Specifies the publisher name. (128 chars)", " Specifies the publisher name. (128 chars)",
skipping to change at line 1852 skipping to change at line 1876
" A single character or a hex code gets repeated 512 times.", " A single character or a hex code gets repeated 512 times.",
" Other text gets opened as data file and 512 bytes are read.", " Other text gets opened as data file and 512 bytes are read.",
" -joliet \"on\"|\"off\"", " -joliet \"on\"|\"off\"",
" Generate Joliet info additional to Rock Ridge info.", " Generate Joliet info additional to Rock Ridge info.",
" -hfsplus \"on\"|\"off\"", " -hfsplus \"on\"|\"off\"",
" Generate a HFS+ partition and filesystem within ISO image.", " Generate a HFS+ partition and filesystem within ISO image.",
" -rockridge \"on\"|\"off\"", " -rockridge \"on\"|\"off\"",
" Opportunity to omit Rock Ridge info. (Do not do it !)", " Opportunity to omit Rock Ridge info. (Do not do it !)",
" -jigdo \"clear\"|\"template_path\"|\"jigdo_path\"|\"md5_path\"", " -jigdo \"clear\"|\"template_path\"|\"jigdo_path\"|\"md5_path\"",
" |\"min_size\"|\"checksum_iso\"|\"checksum_template\"", " |\"min_size\"|\"checksum_iso\"|\"checksum_template\"",
" |\"checksum_path\"|\"demand_checksum\"|\"checksum_algorithm\"",
" |\"compression\"|\"exclude\"|\"demand_md5\"|\"mapping\"", " |\"compression\"|\"exclude\"|\"demand_md5\"|\"mapping\"",
" |\"checksum_iso\"|\"checksum_template\"", " |\"checksum_iso\"|\"checksum_template\"",
" value", " value",
" Clear Jigdo Template Extraction parameter list or add a", " Clear Jigdo Template Extraction parameter list or add a",
" parameter with its value to that list.", " parameter with its value to that list.",
" -compliance rule[:rule...]", " -compliance rule[:rule...]",
" Allow more or less harmless deviations from strict standards", " Allow more or less harmless deviations from strict standards",
" compliance.", " compliance.",
" -rr_reloc_dir name", " -rr_reloc_dir name",
" Specifies name of relocation directory in root directory,", " Specifies name of relocation directory in root directory,",
skipping to change at line 1962 skipping to change at line 1987
"", "",
"Commands with variable length path list [...] need the list delimiter text", "Commands with variable length path list [...] need the list delimiter text",
"as end mark if they are followed by another command. By default this", "as end mark if they are followed by another command. By default this",
"delimiter is \"--\". In dialog and with commands read from files, the line", "delimiter is \"--\". In dialog and with commands read from files, the line",
"end serves as such a mark. With program arguments this mark can be omitted", "end serves as such a mark. With program arguments this mark can be omitted",
"only with the last command in the list of program arguments.", "only with the last command in the list of program arguments.",
"For brevity the list delimiter is referred as \"--\" throughout this text.", "For brevity the list delimiter is referred as \"--\" throughout this text.",
"", "",
" -list_delimiter text Set the list delimiter to be used instead of \"--\"", " -list_delimiter text Set the list delimiter to be used instead of \"--\"",
" It has to be a single word, must not be empty, not longer", " It has to be a single word, must not be empty, not longer",
" than 80 characters, may mot contain quotation marks.", " than 80 characters, may not contain quotation marks.",
"", "",
"Manipulation commands:", "Manipulation commands:",
"disk_path is a path to an object in the local filesystem tree.", "disk_path is a path to an object in the local filesystem tree.",
"iso_rr_path is the Rock Ridge name of a file object in the ISO image.", "iso_rr_path is the Rock Ridge name of a file object in the ISO image.",
"pathspec is either a disk_path or (if allowed) a pair: iso_rr_path=disk_path", "pathspec is either a disk_path or (if allowed) a pair: iso_rr_path=disk_path",
"Commands marked by [***] have variable length parameter lists and perform", "Commands marked by [***] have variable length parameter lists and perform",
"pattern expansion if enabled by -iso_rr_pattern or -disk_pattern.", "pattern expansion if enabled by -iso_rr_pattern or -disk_pattern.",
"", "",
" -pathspecs \"on\"|\"off\"|\"as_mkisofs\"", " -pathspecs \"on\"|\"off\"|\"as_mkisofs\"",
" Allow or disallow pathspecs of form iso_rr_path=disk_path", " Allow or disallow pathspecs of form iso_rr_path=disk_path",
skipping to change at line 2154 skipping to change at line 2179
" -set_filter_r name iso_rr_path [***]", " -set_filter_r name iso_rr_path [***]",
" Like -set_filter but affecting all files below directories.", " Like -set_filter but affecting all files below directories.",
"", "",
"zisofs is a compression format which is recognized by some Linux kernels.", "zisofs is a compression format which is recognized by some Linux kernels.",
"xorriso supports it by builtin filter \"--zisofs\" which is to be applied by", "xorriso supports it by builtin filter \"--zisofs\" which is to be applied by",
"the user, and by \"--zisofs-decode\" which is applied automatically when", "the user, and by \"--zisofs-decode\" which is applied automatically when",
"compressed content is detected with a file in the ISO image.", "compressed content is detected with a file in the ISO image.",
" -zisofs option[:options]", " -zisofs option[:options]",
" Set global zisofs parameters:", " Set global zisofs parameters:",
" level=0|...|9 , block_size=32k|64k|128k , by_magic=on|off", " level=0|...|9 , block_size=32k|64k|128k , by_magic=on|off",
" version_2=off|as_needed|on , block_size_v2=32k|...|1024k",
" max_bpt=1k...128g , max_bpt_f=1k...128g , bpt_target=num",
" bpt_free_ratio=-1|[0.0...1.0] , susp_z2=off|on"
"", "",
"Write-to-media commands:", "Write-to-media commands:",
" -rollback Discard the manipulated ISO image and reload it.", " -rollback Discard the manipulated ISO image and reload it.",
"", "",
" -changes_pending \"no\"|\"yes\"|\"mkisofs_printed\"|\"show_status\"", " -changes_pending \"no\"|\"yes\"|\"mkisofs_printed\"|\"show_status\"",
" Override the automatically determined change status of the", " Override the automatically determined change status of the",
" loaded image, or show the current status.", " loaded image, or show the current status.",
" -commit Perform the write operation if changes are pending.", " -commit Perform the write operation if changes are pending.",
" Then perform -dev outdrive.", " Then perform -dev outdrive.",
" Hint: To perform a final write operation with no new -dev", " Hint: To perform a final write operation with no new -dev",
skipping to change at line 2272 skipping to change at line 2300
" Show content stream chain of data files in the ISO image.", " Show content stream chain of data files in the ISO image.",
" -show_stream_r iso_rr_path [***]", " -show_stream_r iso_rr_path [***]",
" Like -show_stream but affecting all files below directories.", " Like -show_stream but affecting all files below directories.",
"", "",
"Restore commands which copy file objects from ISO image to disk filesystem:", "Restore commands which copy file objects from ISO image to disk filesystem:",
" -osirrox \"on\"|\"device_files\"|\"off\"|\"blocked\"|\"unblock\"|\"banned\"", " -osirrox \"on\"|\"device_files\"|\"off\"|\"blocked\"|\"unblock\"|\"banned\"",
" [:\"concat_split_on\"|\"concat_split_off\"]", " [:\"concat_split_on\"|\"concat_split_off\"]",
" [:\"auto_chmod_on\"|\"auto_chmod_off\"]", " [:\"auto_chmod_on\"|\"auto_chmod_off\"]",
" [:\"sort_lba_on\"|\"sort_lba_off\"]", " [:\"sort_lba_on\"|\"sort_lba_off\"]",
" [:\"strict_acl_on\"|\"strict_acl_off\"]", " [:\"strict_acl_on\"|\"strict_acl_off\"]",
" [:\"check_md5_on\"|\"check_md5_off\"|\"check_md5_force\"]",
" [:\"sparse=off\"|\"sparse=\"number]",
" By default \"off\" the inverse operation of xorriso from ISO", " By default \"off\" the inverse operation of xorriso from ISO",
" image to disk filesystem is disabled. \"on\" allows xorriso", " image to disk filesystem is disabled. \"on\" allows xorriso",
" to create, overwrite, delete files in the disk filesystem.", " to create, overwrite, delete files in the disk filesystem.",
" \"banned\" is irrevocably \"off\". \"blocked\" can only be", " \"banned\" is irrevocably \"off\". \"blocked\" can only be",
" revoked by \"unblock\". (\"device_files\" is dangerous.)", " revoked by \"unblock\". (\"device_files\" is dangerous.)",
" -extract iso_rr_path disk_path", " -extract iso_rr_path disk_path",
" Copy tree under iso_rr_path onto disk address disk_path.", " Copy tree under iso_rr_path onto disk address disk_path.",
" This avoids the pitfalls of cp -r addressing rules.", " This avoids the pitfalls of cp -r addressing rules.",
" -extract_l iso_rr_prefix disk_prefix iso_rr_path [***]", " -extract_l iso_rr_prefix disk_prefix iso_rr_path [***]",
" Perform -extract with each iso_rr_path.", " Perform -extract with each iso_rr_path.",
" -extract_single iso_rr_path disk_path", " -extract_single iso_rr_path disk_path",
" Like -extract but with directory do not restore sub tree.", " Like -extract but with directory do not restore sub tree.",
" -extract_cut iso_rr_path byte_offset byte_count disk_path", " -extract_cut iso_rr_path byte_offset byte_count disk_path",
" Copy a byte interval from iso_rr_path to disk_path.", " Copy a byte interval from iso_rr_path to disk_path.",
" This is governed in part by -check_media_defaults.", " This is governed in part by -check_media_defaults.",
" -extract_boot_images disk_path",
" Copy boot images into files in directory disk_path with",
" names which tell the role inside the ISO.",
" -cpx iso_rr_path [***] disk_path", " -cpx iso_rr_path [***] disk_path",
" Copy leaf file objects from ISO image to disk filesystem.", " Copy leaf file objects from ISO image to disk filesystem.",
" -cpax iso_rr_path [***] disk_path", " -cpax iso_rr_path [***] disk_path",
" Like -cpx but trying to restore timestamps and ownership.", " Like -cpx but trying to restore timestamps and ownership.",
" -cp_rx iso_rr_path [***] disk_path", " -cp_rx iso_rr_path [***] disk_path",
" Copy directory trees from ISO image to disk filesystem.", " Copy directory trees from ISO image to disk filesystem.",
" -cp_rax iso_rr_path [***] disk_path", " -cp_rax iso_rr_path [***] disk_path",
" Like -cp_rx but trying to restore timestamps and ownership.", " Like -cp_rx but trying to restore timestamps and ownership.",
" -paste_in iso_rr_path disk_path byte_offset byte_count", " -paste_in iso_rr_path disk_path byte_offset byte_count",
" Copy ISO file content into a byte interval of a disk file.", " Copy ISO file content into a byte interval of a disk file.",
skipping to change at line 2335 skipping to change at line 2368
" -no-pad|-M|-C|-graft-points|-path-list|pathspecs|-z|", " -no-pad|-M|-C|-graft-points|-path-list|pathspecs|-z|",
" -no-emul-boot|-b|-c|-boot-info-table|-boot-load-size|-G|...]", " -no-emul-boot|-b|-c|-boot-info-table|-boot-load-size|-G|...]",
" Perform some mkisofs gestures, understand pathspecs as mkisofs", " Perform some mkisofs gestures, understand pathspecs as mkisofs",
" does. Commit happens outside emulation at usual occasions.", " does. Commit happens outside emulation at usual occasions.",
" For a list of options see -as mkisofs -help.", " For a list of options see -as mkisofs -help.",
" -read_mkisofsrc", " -read_mkisofsrc",
" Read and interpret the .mkisofsrc configuration file.", " Read and interpret the .mkisofsrc configuration file.",
" -as cdrecord [-help|-v|dev=|speed=|blank=|fs=|-eject|-atip|padsize=|-multi]", " -as cdrecord [-help|-v|dev=|speed=|blank=|fs=|-eject|-atip|padsize=|-multi]",
" path|-", " path|-",
" Perform some cdrecord gestures, eventually write at most one", " Perform some cdrecord gestures, eventually write at most one",
" data track to blank, appendable or overwriteable media.", " data track to blank, appendable or overwritable media.",
" -pacifier \"xorriso\"|\"cdrecord\"|\"mkisofs\"", " -pacifier \"xorriso\"|\"cdrecord\"|\"mkisofs\"",
" Choose format of UPDATE pacifier during write operations.", " Choose format of UPDATE pacifier during write operations.",
"", "",
"General commands:", "General commands:",
" -help Print this text", " -help Print this text",
" -abort_on severity Set the threshold for events to abort the program.", " -abort_on severity Set the threshold for events to abort the program.",
" Useful severities: NEVER, ABORT, FATAL, FAILURE, SORRY, WARNING", " Useful severities: NEVER, ABORT, FATAL, FAILURE, SORRY, WARNING",
" -return_with severity exit_value Set the threshold for events to return", " -return_with severity exit_value Set the threshold for events to return",
" at program end the given exit_value even if not aborted.", " at program end the given exit_value even if not aborted.",
" exit_value may be 0 or 32 to 63.", " exit_value may be 0 or 32 to 63.",
skipping to change at line 2463 skipping to change at line 2496
" End program. Discard pending changes.", " End program. Discard pending changes.",
"", "",
"", "",
"Command -page causes a user prompt after the given number of result lines.", "Command -page causes a user prompt after the given number of result lines.",
"Empty input resumes output until the next prompt. Other input may be:", "Empty input resumes output until the next prompt. Other input may be:",
" @ suppresses paging until the current action is done", " @ suppresses paging until the current action is done",
" @@ suppresses further result output but continues the action", " @@ suppresses further result output but continues the action",
" @@@ aborts the current action", " @@@ aborts the current action",
" other aborts the current action and executes input as new command", " other aborts the current action and executes input as new command",
"", "",
#ifdef Xorriso_GNU_xorrisO
"Report bugs to: bug-xorriso@gnu.org , or in private to: scdbackup@gmx.net .",
"xorriso home page: <https://www.gnu.org/software/xorriso/>",
"General help using GNU software: <https://www.gnu.org/gethelp/>",
#else
"Report any bugs to bug-xorriso@gnu.org or in private to scdbackup@gmx.net .",
#endif
"",
#endif /* ! Xorriso_no_helP */ #endif /* ! Xorriso_no_helP */
"@ENDE_OF_HELPTEXT_(HOPEFULLY_UNIQUELY_SILLY_TEXT)@" "@ENDE_OF_HELPTEXT_(HOPEFULLY_UNIQUELY_SILLY_TEXT)@"
}; };
char *tpt= NULL; char *tpt= NULL;
int i,pass; int i;
Xorriso_restxt(xorriso,"\n"); Xorriso_restxt(xorriso,"\n");
sprintf(xorriso->result_line,"usage: %s [settings|actions]\n", sprintf(xorriso->result_line,"usage: %s [settings|actions]\n",
xorriso->progname); xorriso->progname);
Xorriso_result(xorriso,0); Xorriso_result(xorriso,0);
Xorriso_restxt(xorriso,"\n"); Xorriso_restxt(xorriso,"\n");
for(pass=0;pass<1;pass++) { for(i=0;1;i++) {
for(i=0;1;i++) { tpt= text[i];
if(pass==0)
tpt= text[i]; if(strcmp(tpt,"@ENDE_OF_HELPTEXT_(HOPEFULLY_UNIQUELY_SILLY_TEXT)@")==0)
break;
if(strcmp(tpt,"@ENDE_OF_HELPTEXT_(HOPEFULLY_UNIQUELY_SILLY_TEXT)@")==0) sprintf(xorriso->result_line,"%s\n",tpt);
break; Xorriso_result(xorriso,0);
sprintf(xorriso->result_line,"%s\n",tpt); if(xorriso->request_to_abort)
Xorriso_result(xorriso,0); return(1);
if(xorriso->request_to_abort)
return(1);
}
} }
Xorriso_restxt(xorriso,"\n"); Xorriso_restxt(xorriso,"\n");
return(1); return(1);
} }
/* Option -hfsplus "on"|"off" */ /* Option -hfsplus "on"|"off" */
int Xorriso_option_hfsplus(struct XorrisO *xorriso, char *mode, int flag) int Xorriso_option_hfsplus(struct XorrisO *xorriso, char *mode, int flag)
{ {
if(strcmp(mode, "off")==0) if(strcmp(mode, "off")==0)
xorriso->do_hfsplus= 0; xorriso->do_hfsplus= 0;
 End of changes. 18 change blocks. 
21 lines changed or deleted 59 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)