Class Burn::ReadOptions

Abstract

Options relative to reading operations.

Inherits from: Object ← Burn::ReadOptions .

Included in: Burn .

Index: c2_errors= hardware_error_recovery= hardware_error_retries= new raw= read_subcodes_audio= read_subcodes_data= report_recovered_errors= transfer_damaged_blocks=

Class methods
newnew(drive)
 

Creates a Burn::ReadOptions for reading the specified drive.

Instance methods
c2_errors=c2_errors=(state)
 

Sets whether to report C2 errors or not.

  • state: if true, report C2 errors.

  • Returns: the state.

hardware_error_recovery=hardware_error_recovery=(state)
 

Sets whether to recover errors if possible.

  • state: if true, attempt to recover errors if possible.

  • Returns: the state.

hardware_error_retries=hardware_error_retries=(state)
 

Sets the number of retries to attempt when trying to correct an error.

  • state: the number of retries to attempt when correcting an error.

  • Returns: the state.

raw=raw=(state)
 

Sets whether to read in raw mode or not.

  • state: if true, reading will be done in raw mode, so that everything in the data tracks on the disc is read, including headers.

  • Returns: the state.

read_subcodes_audio=read_subcodes_audio=(state)
 

Sets whether to read subcodes from audio tracks or not.

  • state: if true, read subcodes from audio tracks on the disc.

  • Returns: the state.

read_subcodes_data=read_subcodes_data=(state)
 

Sets whether to read subcodes from data tracks or not.

  • state: if true, read subcodes from data tracks on the disc.

  • Returns: the state.

report_recovered_errors=report_recovered_errors=(state)
 

Sets whether to report recovered errors or not.

  • state: if true, recovered errors will be reported.

  • Returns: the state.

transfer_damaged_blocks=transfer_damaged_blocks=(state)
 

Sets whether blocks with unrecoverable errors should be read or not.

  • state: if true, blocks with unrecoverable errors will still be read.

  • Returns: the state.