New option -signal_handling
This commit is contained in:
@ -2537,6 +2537,33 @@ failed unexpectedly.
|
||||
first operations of xorriso begin. Only "-report_about" with dash
|
||||
"-" is recognized that way.
|
||||
|
||||
-signal_handling mode
|
||||
Control the installation of a signal handler which shall react on
|
||||
external signals (e.g. from program "kill" or from keys Ctrl+C) or
|
||||
on signals caused by severe program errors.
|
||||
Mode "on" is the default. It uses the signal handler of libburn
|
||||
which produces ugly messages but puts much effort in releasing
|
||||
eventually used optical drives before xorriso ends.
|
||||
Mode "off" as first -signal_handling among the start arguments
|
||||
prevents all own signal precautions of xorriso. Eventually
|
||||
inherited signal handler settings stay as they are.
|
||||
It works like "sig_dfl" if given after other signal handling was
|
||||
already established at program start.
|
||||
Mode "sig_dfl" uses the system provided default handling of
|
||||
signals, which is normally a sudden abort of the program. To
|
||||
prevent stuck drives, the libburn handler is used during burning,
|
||||
blanking, and formatting on MMC drives.
|
||||
Mode "sig_ign" tries to ignore as many signal types as possible.
|
||||
This imposes the risk that xorriso refuses to end until externally
|
||||
kill -9 if performed. kill -9 then imposes the risk that the
|
||||
drive is left in unusable state and needs poweroff to be reset. So
|
||||
during burning, blanking, and formatting wait for at least their
|
||||
normal run time before killing externally.
|
||||
A special property of this option is that the first
|
||||
-signal_handling setting among the start arguments is in effect
|
||||
already when the first operations of xorriso begin. Only
|
||||
"-signal_handling" with dash "-" is recognized that way.
|
||||
|
||||
-error_behavior occasion behavior
|
||||
Control the program behavior at problem event occasions. For now
|
||||
this applies to occasions "image_loading" which is given while an
|
||||
@ -4173,7 +4200,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -eject ejects drive tray: Writing. (line 36)
|
||||
* -end writes pending session and ends program: Scripting. (line 134)
|
||||
* -errfile_log logs problematic disk files: Scripting. (line 96)
|
||||
* -error_behavior controls error workarounds: Exception. (line 69)
|
||||
* -error_behavior controls error workarounds: Exception. (line 96)
|
||||
* -external_filter registers data filter: Filter. (line 20)
|
||||
* -external_filter unregisters data filter: Filter. (line 48)
|
||||
* -extract copies file tree to disk: Restore. (line 56)
|
||||
@ -4282,6 +4309,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -setfattr_r sets xattr in ISO image: Manip. (line 123)
|
||||
* -show_stream shows data source and filters: Navigate. (line 162)
|
||||
* -show_stream_r shows data source and filters: Navigate. (line 177)
|
||||
* -signal_handling controls handling of system signals: Exception.
|
||||
(line 69)
|
||||
* -speed set write speed: SetWrite. (line 211)
|
||||
* -split_size enables large file splitting: SetInsert. (line 140)
|
||||
* -status shows current settings: Scripting. (line 29)
|
||||
@ -4338,6 +4367,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Character Set, of terminal, -local_charset: Charset. (line 47)
|
||||
* Closed media, _definition: Media. (line 43)
|
||||
* Comment, #: Scripting. (line 140)
|
||||
* Control, signal handling, -signal_handling: Exception. (line 69)
|
||||
* Create, new ISO image, _definiton: Methods. (line 6)
|
||||
* Cylinder alignment, _definiton: Bootable. (line 169)
|
||||
* Cylinder size, _definiton: Bootable. (line 158)
|
||||
@ -4476,7 +4506,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Process, disable startup files, -no_rc: Scripting. (line 7)
|
||||
* Process, end program and write, -end: Scripting. (line 134)
|
||||
* Process, end program, no writing, -rollback_end: Scripting. (line 137)
|
||||
* Process, error workarounds, -error_behavior: Exception. (line 69)
|
||||
* Process, error workarounds, -error_behavior: Exception. (line 96)
|
||||
* Process, log output channels to file, -logfile: Frontend. (line 20)
|
||||
* Process, read command file, -options_from_file: Scripting. (line 12)
|
||||
* Process, set synchronizing message, -mark: Frontend. (line 25)
|
||||
@ -4583,35 +4613,35 @@ Node: Bootable104898
|
||||
Node: Jigdo118216
|
||||
Node: Charset122474
|
||||
Node: Exception125225
|
||||
Node: DialogCtl129736
|
||||
Node: Inquiry132323
|
||||
Node: Navigate136700
|
||||
Node: Verify144640
|
||||
Node: Restore153229
|
||||
Node: Emulation159885
|
||||
Node: Scripting169721
|
||||
Node: Frontend175861
|
||||
Node: Examples177156
|
||||
Node: ExDevices178325
|
||||
Node: ExCreate178959
|
||||
Node: ExDialog180233
|
||||
Node: ExGrowing181495
|
||||
Node: ExModifying182297
|
||||
Node: ExBootable182798
|
||||
Node: ExCharset183345
|
||||
Node: ExPseudo184173
|
||||
Node: ExCdrecord185067
|
||||
Node: ExMkisofs185382
|
||||
Node: ExGrowisofs186718
|
||||
Node: ExException187842
|
||||
Node: ExTime188296
|
||||
Node: ExIncBackup188755
|
||||
Node: ExRestore192676
|
||||
Node: ExRecovery193645
|
||||
Node: Files194211
|
||||
Node: Seealso195501
|
||||
Node: Legal196081
|
||||
Node: CommandIdx197003
|
||||
Node: ConceptIdx211529
|
||||
Node: DialogCtl131343
|
||||
Node: Inquiry133930
|
||||
Node: Navigate138307
|
||||
Node: Verify146247
|
||||
Node: Restore154836
|
||||
Node: Emulation161492
|
||||
Node: Scripting171328
|
||||
Node: Frontend177468
|
||||
Node: Examples178763
|
||||
Node: ExDevices179932
|
||||
Node: ExCreate180566
|
||||
Node: ExDialog181840
|
||||
Node: ExGrowing183102
|
||||
Node: ExModifying183904
|
||||
Node: ExBootable184405
|
||||
Node: ExCharset184952
|
||||
Node: ExPseudo185780
|
||||
Node: ExCdrecord186674
|
||||
Node: ExMkisofs186989
|
||||
Node: ExGrowisofs188325
|
||||
Node: ExException189449
|
||||
Node: ExTime189903
|
||||
Node: ExIncBackup190362
|
||||
Node: ExRestore194283
|
||||
Node: ExRecovery195252
|
||||
Node: Files195818
|
||||
Node: Seealso197108
|
||||
Node: Legal197688
|
||||
Node: CommandIdx198610
|
||||
Node: ConceptIdx213278
|
||||
|
||||
End Tag Table
|
||||
|
Reference in New Issue
Block a user