Letting -as mkisofs -gui cause a higher frequency of pacifier messages

This commit is contained in:
Thomas Schmitt 2013-06-02 11:27:44 +00:00
parent 2faa115fe3
commit 141839db0f
5 changed files with 48 additions and 25 deletions

View File

@ -676,7 +676,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom,
"-L", "-no-bak", "-no-cache-inodes", "-L", "-no-bak", "-no-cache-inodes",
"-no-split-symlink-components", "-no-split-symlink-fields", "-nobak", "-no-split-symlink-components", "-no-split-symlink-fields", "-nobak",
"-force-rr", "-T", "-force-rr", "-T",
"-no-iso-translate", "-gui", "-no-iso-translate",
"" ""
}; };
static char ignored_arg1_options[][41]= { static char ignored_arg1_options[][41]= {
@ -774,6 +774,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" --quoted_path_list FILE File with list of quoted pathnames to process", " --quoted_path_list FILE File with list of quoted pathnames to process",
" -print-size Print estimated filesystem size and exit", " -print-size Print estimated filesystem size and exit",
" -quiet Run quietly", " -quiet Run quietly",
" -gui Switch behaviour for GUI",
" -R, -rock Generate Rock Ridge directory information", " -R, -rock Generate Rock Ridge directory information",
" -r, -rational-rock Generate rationalized Rock Ridge directory information", " -r, -rational-rock Generate rationalized Rock Ridge directory information",
" --norock Disable Rock Ridge. (Strongly discouraged !)", " --norock Disable Rock Ridge. (Strongly discouraged !)",
@ -1412,6 +1413,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
xorriso->no_emul_toc|= 1; xorriso->no_emul_toc|= 1;
} else if(strcmp(argpt, "-log-file") == 0) { } else if(strcmp(argpt, "-log-file") == 0) {
/* already handled before this loop */; /* already handled before this loop */;
} else if(strcmp(argpt, "-gui") == 0) {
xorriso->pacifier_interval= 0.25;
} else { } else {
if(argv[i][0] == '-') { if(argv[i][0] == '-') {
ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1, ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1,
@ -2037,6 +2040,9 @@ rr_reloc_dir:;
} else if(strcmp(argpt, "-log-file") == 0) { } else if(strcmp(argpt, "-log-file") == 0) {
/* was already handled before this loop */; /* was already handled before this loop */;
} else if(strcmp(argpt, "-gui") == 0) {
/* was already handled in first argument scan */;
} else if(argpt[0]=='-' && argpt[1]!=0) { } else if(argpt[0]=='-' && argpt[1]!=0) {
ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1, ret= Xorriso_genisofs_fused_options(xorriso, whom, argv[i] + 1,
&option_d, &iso_level, &lower_r, ra_text, 1); &option_d, &iso_level, &lower_r, ra_text, 1);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.06.02.112441" #define Xorriso_timestamP "2013.06.02.112720"

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISOFS 1 "Version 1.3.1, May 27, 2013" .TH XORRISOFS 1 "Version 1.3.1, Jun 02, 2013"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -1334,6 +1334,10 @@ original mkisofs description texts.
Suppress most messages of the program run, except those which indicate Suppress most messages of the program run, except those which indicate
problems or errors. problems or errors.
.TP .TP
\fB\-gui\fR
.br
Increase the frequency of pacifier messages while writing an ISO image.
.TP
\fB\-log-file\fR disk_path \fB\-log-file\fR disk_path
.br .br
Truncate file disk_path to 0 size and redirect to it all messages which would Truncate file disk_path to 0 size and redirect to it all messages which would

View File

@ -1308,6 +1308,10 @@ File: xorrisofs.info, Node: Miscellaneous, Next: ExSimple, Prev: Jigdo, Up:
Suppress most messages of the program run, except those which Suppress most messages of the program run, except those which
indicate problems or errors. indicate problems or errors.
-gui
Increase the frequency of pacifier messages while writing an ISO
image.
-log-file disk_path -log-file disk_path
Truncate file disk_path to 0 size and redirect to it all messages Truncate file disk_path to 0 size and redirect to it all messages
which would normally appear on stderr. -log-file with empty text which would normally appear on stderr. -log-file with empty text
@ -1846,6 +1850,8 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -G Fill System Area e.g. by MBR: SystemArea. (line 25) * -G Fill System Area e.g. by MBR: SystemArea. (line 25)
* -generic-boot Fill System Area e.g. by MBR: SystemArea. (line 32) * -generic-boot Fill System Area e.g. by MBR: SystemArea. (line 32)
* -graft-points enable target=source pathspecs: SetInsert. (line 31) * -graft-points enable target=source pathspecs: SetInsert. (line 31)
* -gui increase frequency of pacifier messages: Miscellaneous.
(line 31)
* -hard-disk-boot El Torito boot image emulation: Bootable. (line 68) * -hard-disk-boot El Torito boot image emulation: Bootable. (line 68)
* -help list supported options: Miscellaneous. (line 23) * -help list supported options: Miscellaneous. (line 23)
* -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 182) * -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 182)
@ -1893,7 +1899,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
(line 114) (line 114)
* -joliet-long allow longer Joliet names: SetExtras. (line 117) * -joliet-long allow longer Joliet names: SetExtras. (line 117)
* -l allow 31 characters in ISO file names: SetCompl. (line 63) * -l allow 31 characters in ISO file names: SetCompl. (line 63)
* -log-file redirect stderr messages: Miscellaneous. (line 31) * -log-file redirect stderr messages: Miscellaneous. (line 35)
* -m exclude disk files from inserting: SetInsert. (line 35) * -m exclude disk files from inserting: SetInsert. (line 35)
* -M set path for loading existing ISO image: Loading. (line 11) * -M set path for loading existing ISO image: Loading. (line 11)
* -max-iso9660-filenames allow 37 characters in ISO file names: SetCompl. * -max-iso9660-filenames allow 37 characters in ISO file names: SetCompl.
@ -1951,10 +1957,10 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -untranslated-filenames very relaxed filename rules: SetCompl. * -untranslated-filenames very relaxed filename rules: SetCompl.
(line 36) (line 36)
* -untranslated_name_len untranslated file names: SetCompl. (line 39) * -untranslated_name_len untranslated file names: SetCompl. (line 39)
* -v enable verbous messages: Miscellaneous. (line 36) * -v enable verbous messages: Miscellaneous. (line 40)
* -V set Volume Id: ImageId. (line 13) * -V set Volume Id: ImageId. (line 13)
* -verbose enable verbous messages: Miscellaneous. (line 39) * -verbose enable verbous messages: Miscellaneous. (line 43)
* -version report program version: Miscellaneous. (line 42) * -version report program version: Miscellaneous. (line 46)
* -volid set Volume Id: ImageId. (line 23) * -volid set Volume Id: ImageId. (line 23)
* -volset set Volume Set Id: ImageId. (line 26) * -volset set Volume Set Id: ImageId. (line 26)
* -x exclude disk files from inserting: SetInsert. (line 45) * -x exclude disk files from inserting: SetInsert. (line 45)
@ -2116,7 +2122,8 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* MBR, append partition, -append_partition: SystemArea. (line 128) * MBR, append partition, -append_partition: SystemArea. (line 128)
* MBR, sectors per head, -partition_sec_hd: SystemArea. (line 99) * MBR, sectors per head, -partition_sec_hd: SystemArea. (line 99)
* MD5, record and load, --md5: SetExtras. (line 84) * MD5, record and load, --md5: SetExtras. (line 84)
* Message output, redirect stderr, -log-file: Miscellaneous. (line 31) * Message output, increase frequency, -gui: Miscellaneous. (line 31)
* Message output, redirect stderr, -log-file: Miscellaneous. (line 35)
* Message output, suppress, -quiet: Miscellaneous. (line 27) * Message output, suppress, -quiet: Miscellaneous. (line 27)
* Mountability, by non-trivial partition 1, -partition_offset: SystemArea. * Mountability, by non-trivial partition 1, -partition_offset: SystemArea.
(line 87) (line 87)
@ -2133,7 +2140,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Permissions, for all directories, -dir-mode: SetProduct. (line 85) * Permissions, for all directories, -dir-mode: SetProduct. (line 85)
* Preparer Id, set, -p: ImageId. (line 54) * Preparer Id, set, -p: ImageId. (line 54)
* Problems, reporting: Bugreport. (line 6) * Problems, reporting: Bugreport. (line 6)
* Program version, report, -version: Miscellaneous. (line 42) * Program version, report, -version: Miscellaneous. (line 46)
* Publisher Id, set, -P, -publisher: ImageId. (line 30) * Publisher Id, set, -P, -publisher: ImageId. (line 30)
* Rock Ridge, (enabled by default), -R, -rock: SetExtras. (line 8) * Rock Ridge, (enabled by default), -R, -rock: SetExtras. (line 8)
* Rock Ridge, _definition: Standards. (line 14) * Rock Ridge, _definition: Standards. (line 14)
@ -2149,7 +2156,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* System Id, set, -sysid: ImageId. (line 49) * System Id, set, -sysid: ImageId. (line 49)
* Table-of-content, emulation off, --no-emul-toc: SetProduct. (line 44) * Table-of-content, emulation off, --no-emul-toc: SetProduct. (line 44)
* Table-of-content, emulation, --emul-toc: SetProduct. (line 35) * Table-of-content, emulation, --emul-toc: SetProduct. (line 35)
* Verbosity, high, -v, -verbose: Miscellaneous. (line 36) * Verbosity, high, -v, -verbose: Miscellaneous. (line 40)
* Volume Id, set, -V, -volid: ImageId. (line 13) * Volume Id, set, -V, -volid: ImageId. (line 13)
* Volume Set Id, set, -volset: ImageId. (line 26) * Volume Set Id, set, -volset: ImageId. (line 26)
* xattr, record and load, --xattr: SetExtras. (line 77) * xattr, record and load, --xattr: SetExtras. (line 77)
@ -2179,19 +2186,19 @@ Node: SystemArea39904
Node: Charset50201 Node: Charset50201
Node: Jigdo51227 Node: Jigdo51227
Node: Miscellaneous55494 Node: Miscellaneous55494
Node: Examples57050 Node: Examples57138
Node: ExSimple57536 Node: ExSimple57624
Node: ExGraft58015 Node: ExGraft58103
Node: ExMkisofs59262 Node: ExMkisofs59350
Node: ExGrowisofs60515 Node: ExGrowisofs60603
Node: ExIncBackup61687 Node: ExIncBackup61775
Node: ExIncBckAcc64795 Node: ExIncBckAcc64883
Node: ExBootable66471 Node: ExBootable66559
Node: Files68563 Node: Files68651
Node: Seealso69637 Node: Seealso69725
Node: Bugreport70293 Node: Bugreport70381
Node: Legal70874 Node: Legal70962
Node: CommandIdx71769 Node: CommandIdx71857
Node: ConceptIdx86187 Node: ConceptIdx86413
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1) @c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISOFS 1 "Version 1.3.1, May 27, 2013" @c man .TH XORRISOFS 1 "Version 1.3.1, Jun 02, 2013"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -1799,6 +1799,12 @@ original mkisofs description texts.
Suppress most messages of the program run, except those which indicate Suppress most messages of the program run, except those which indicate
problems or errors. problems or errors.
@c man .TP @c man .TP
@item -gui
@kindex -gui increase frequency of pacifier messages
@cindex Message output, increase frequency, -gui
@*
Increase the frequency of pacifier messages while writing an ISO image.
@c man .TP
@item -log-file disk_path @item -log-file disk_path
@kindex -log-file redirect stderr messages @kindex -log-file redirect stderr messages
@cindex Message output, redirect stderr, -log-file @cindex Message output, redirect stderr, -log-file