bareos: dev 03c881a2

Author Committer Branch Timestamp Parent
arogge_adm arogge_adm dev 2019-01-15 12:29 bareos-18.2 dc639683 Pending
Affected Issues  0001034: Read error on tape may be misinterpreted as end-of-tape
Changeset stored: do not treat read error as EoT by default

Fixes 0001034: Read error on tape may be misinterpreted as end-of-tape
Previously stored treated a read-error immediately
following an end-of-file mark on a tape as end-of-tape
instead of an error.
This patch makes stored raise an error in this case,
but allows to switch back to the previous behaviour on
a per-device basis using the new configuration option
"Eof On Error Is Eot".
mod - core/src/stored/backends/generic_tape_device.cc Diff File
mod - core/src/stored/block.cc Diff File
mod - core/src/stored/bls.cc Diff File
mod - core/src/stored/btape.cc Diff File
mod - core/src/stored/dev.h Diff File
mod - core/src/stored/label.cc Diff File
mod - core/src/stored/read_record.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File