Re-enabled unconditional reporting of MD5 tags with -check_media

master
Thomas Schmitt 4 years ago
parent 9cfd466b8f
commit ff68bda006
  1. 3
      xorriso/drive_mgt.c
  2. 8
      xorriso/xorriso.1
  3. 71
      xorriso/xorriso.info
  4. 8
      xorriso/xorriso.texi
  5. 2
      xorriso/xorriso_timestamp.h

@ -2543,8 +2543,7 @@ int Xorriso_chunk_md5(struct XorrisO *xorriso, char *data, int to_read,
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, sev_text, 0);
}
if(valid && (tag_type == 1 || (tag_type == 4 && pos == lba && lba < 32))){
if(state->md5_spot_value != Xorriso_read_quality_untesteD &&
Xorriso_read_quality_md5_mismatcH <= xorriso->check_media_bad_limit){
if(state->md5_spot_value != Xorriso_read_quality_untesteD) {
ret= Xorriso__add_spot(state, state->md5_start,
state->md5_spot_lba - state->md5_start, state->md5_spot_value, 0);
if(ret <= 0)

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Version 1.5.1, Oct 08, 2018"
.TH XORRISO 1 "Version 1.5.1, Nov 01, 2018"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -4663,6 +4663,12 @@ supposed to be ok but stem from a suspicious neighborhood.
The former is a strong confirmation for quality, the latter only tells that
one or more blocks of the region must be wrong.
.br
By default bad_limit is set higher than md5_mismatch, so that mismatches are
classified as quality class "0" rather than "\-". This means that the sectors
of a MD5 mismatch range are recorded in the sector_map as successfully read,
if the drive handed them out at all. Set "bad_limit=md5_mismatch" to let the
sector_map record the whole mismatching range as yet not retrieved.
.br
\fBslow_limit=threshold\fR
sets the time threshold for a single read chunk to be considered
slow. This may be a fractional number like 0.1 or 1.5.

@ -3914,6 +3914,13 @@ transmission errors.
other quality. The former is a strong confirmation for
quality, the latter only tells that one or more blocks of the
region must be wrong.
By default bad_limit is set higher than md5_mismatch, so that
mismatches are classified as quality class "0" rather than
"-". This means that the sectors of a MD5 mismatch range are
recorded in the sector_map as successfully read, if the drive
handed them out at all. Set "bad_limit=md5_mismatch" to let
the sector_map record the whole mismatching range as yet not
retrieved.
slow_limit=threshold
sets the time threshold for a single read chunk to be
considered slow. This may be a fractional number like 0.1 or
@ -5268,8 +5275,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -cdx sets working directory on disk: Navigate. (line 15)
* -changes_pending overrides change status: Writing. (line 12)
* -charset sets input/output character set: Charset. (line 54)
* -check_md5 verifies file checksum: Verify. (line 166)
* -check_md5_r verifies file tree checksums: Verify. (line 180)
* -check_md5 verifies file checksum: Verify. (line 173)
* -check_md5_r verifies file tree checksums: Verify. (line 187)
* -check_media reads media block by block: Verify. (line 21)
* -check_media_defaults sets -check_media options: Verify. (line 40)
* -chgrp sets group in ISO image: Manip. (line 49)
@ -5765,8 +5772,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Verify, compare ISO and disk file, -compare: Navigate. (line 131)
* Verify, compare ISO and disk tree, -compare_r: Navigate. (line 143)
* Verify, compare ISO and disk, -compare_l: Navigate. (line 147)
* Verify, file checksum, -check_md5: Verify. (line 166)
* Verify, file tree checksums, -check_md5_r: Verify. (line 180)
* Verify, file checksum, -check_md5: Verify. (line 173)
* Verify, file tree checksums, -check_md5_r: Verify. (line 187)
* Verify, preset -check_media, -check_media_defaults: Verify. (line 40)
* Write, block size, -dvd_obs: SetWrite. (line 330)
* Write, bootability, -boot_image: Bootable. (line 75)
@ -5827,33 +5834,33 @@ Node: DialogCtl183563
Node: Inquiry186165
Node: Navigate195049
Node: Verify203506
Node: Restore213529
Node: Emulation222142
Node: Scripting232601
Node: Frontend240384
Node: Examples250010
Node: ExDevices251188
Node: ExCreate251849
Node: ExDialog253149
Node: ExGrowing254420
Node: ExModifying255229
Node: ExBootable255739
Node: ExCharset256294
Node: ExPseudo257190
Node: ExCdrecord258117
Node: ExMkisofs258437
Node: ExGrowisofs259794
Node: ExException260948
Node: ExTime261406
Node: ExIncBackup261864
Node: ExRestore265890
Node: ExRecovery266836
Node: Files267408
Node: Environ268742
Node: Seealso269451
Node: Bugreport270168
Node: Legal270759
Node: CommandIdx271771
Node: ConceptIdx289105
Node: Restore213977
Node: Emulation222590
Node: Scripting233049
Node: Frontend240832
Node: Examples250458
Node: ExDevices251636
Node: ExCreate252297
Node: ExDialog253597
Node: ExGrowing254868
Node: ExModifying255677
Node: ExBootable256187
Node: ExCharset256742
Node: ExPseudo257638
Node: ExCdrecord258565
Node: ExMkisofs258885
Node: ExGrowisofs260242
Node: ExException261396
Node: ExTime261854
Node: ExIncBackup262312
Node: ExRestore266338
Node: ExRecovery267284
Node: Files267856
Node: Environ269190
Node: Seealso269899
Node: Bugreport270616
Node: Legal271207
Node: CommandIdx272219
Node: ConceptIdx289553

End Tag Table

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps
@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 .TH XORRISO 1 "Version 1.5.1, Oct 08, 2018"
@c man .TH XORRISO 1 "Version 1.5.1, Nov 01, 2018"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -5380,6 +5380,12 @@ supposed to be ok but stem from a suspicious neighborhood.
The former is a strong confirmation for quality, the latter only tells that
one or more blocks of the region must be wrong.
@*
By default bad_limit is set higher than md5_mismatch, so that mismatches are
classified as quality class "0" rather than "-". This means that the sectors
of a MD5 mismatch range are recorded in the sector_map as successfully read,
if the drive handed them out at all. Set "bad_limit=md5_mismatch" to let the
sector_map record the whole mismatching range as yet not retrieved.
@*
@item slow_limit=threshold
sets the time threshold for a single read chunk to be considered
slow. This may be a fractional number like 0.1 or 1.5.

@ -1 +1 @@
#define Xorriso_timestamP "2018.10.12.104229"
#define Xorriso_timestamP "2018.11.01.100352"

Loading…
Cancel
Save