New option -early_drive_test

This commit is contained in:
2011-03-21 09:37:02 +00:00
parent 37789c3f71
commit 393ad85438
13 changed files with 170 additions and 65 deletions

View File

@ -824,6 +824,16 @@ activate them only after image loading.
to write the result into files of nearly arbitrary type. Once
set, this command cannot be revoked.
-early_stdio_test "on"|"off"
If enabled by "on" then regular files and block devices get tested
for effective access permissions. This implies to try opening
those files for writing, which otherwise will happen only later
and only if actual writing is desired.
The test result is used for classifying the pseudo drives as
overwriteable, read-only, write-only, or uselessly empty. This may
lead to earlier detection of severe problems, and may avoid some
less severe error events.

File: xorriso.info, Node: Insert, Next: SetInsert, Prev: Loading, Up: Options
@ -2531,9 +2541,8 @@ failed unexpectedly.
"best_effort" goes on with reading after events with severity
below FAILURE if the threshold of option -abort_on allows this.
"failure" aborts image tree reading on first event of at least
SORRY. It issues an own FAILURE event.
SORRY. It issues an own FAILURE event. This is the default.
"fatal" acts like "failure" but issues the own event as FATAL.
This is the default.
With occasion "file_extraction" there are three behaviors:
"keep" maintains incompletely extracted files on disk. This is the
default.
@ -4142,6 +4151,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -dusx show directory size on disk: Navigate. (line 101)
* -dux show directory size on disk: Navigate. (line 96)
* -dvd_obs set write block size: SetWrite. (line 236)
* -early_stdio_test classifies stdio drives: Loading. (line 251)
* -eject ejects drive tray: Writing. (line 36)
* -end writes pending session and ends program: Scripting. (line 122)
* -errfile_log logs problematic disk files: Scripting. (line 84)
@ -4326,6 +4336,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* disk_path, _definition: Insert. (line 6)
* Drive, _definiton: Drives. (line 6)
* Drive, accessability, -drive_class: Loading. (line 54)
* Drive, classify stdio, -early_stdio_test: Loading. (line 251)
* Drive, demand real MMC, -ban_stdio_write: Loading. (line 246)
* Drive, eject tray, -eject: Writing. (line 36)
* Drive, for input and output, -dev: AqDrive. (line 10)
@ -4538,46 +4549,46 @@ Node: Dialog21570
Node: Options23227
Node: AqDrive24835
Node: Loading27741
Node: Insert41367
Node: SetInsert50986
Node: Manip59553
Node: CmdFind68234
Node: Filter79534
Node: Writing83883
Node: SetWrite90172
Node: Bootable104113
Node: Jigdo117431
Node: Charset121689
Node: Exception124440
Node: DialogCtl128955
Node: Inquiry131542
Node: Navigate135919
Node: Verify143859
Node: Restore152448
Node: Emulation159104
Node: Scripting168940
Node: Frontend174502
Node: Examples175797
Node: ExDevices176966
Node: ExCreate177600
Node: ExDialog178874
Node: ExGrowing180136
Node: ExModifying180938
Node: ExBootable181439
Node: ExCharset181986
Node: ExPseudo182814
Node: ExCdrecord183708
Node: ExMkisofs184023
Node: ExGrowisofs185359
Node: ExException186483
Node: ExTime186937
Node: ExIncBackup187396
Node: ExRestore191317
Node: ExRecovery192286
Node: Files192852
Node: Seealso194080
Node: Legal194660
Node: CommandIdx195582
Node: ConceptIdx209889
Node: Insert41888
Node: SetInsert51507
Node: Manip60074
Node: CmdFind68755
Node: Filter80055
Node: Writing84404
Node: SetWrite90693
Node: Bootable104634
Node: Jigdo117952
Node: Charset122210
Node: Exception124961
Node: DialogCtl129472
Node: Inquiry132059
Node: Navigate136436
Node: Verify144376
Node: Restore152965
Node: Emulation159621
Node: Scripting169457
Node: Frontend175019
Node: Examples176314
Node: ExDevices177483
Node: ExCreate178117
Node: ExDialog179391
Node: ExGrowing180653
Node: ExModifying181455
Node: ExBootable181956
Node: ExCharset182503
Node: ExPseudo183331
Node: ExCdrecord184225
Node: ExMkisofs184540
Node: ExGrowisofs185876
Node: ExException187000
Node: ExTime187454
Node: ExIncBackup187913
Node: ExRestore191834
Node: ExRecovery192803
Node: Files193369
Node: Seealso194597
Node: Legal195177
Node: CommandIdx196099
Node: ConceptIdx210479

End Tag Table