Documentation for the ddrescue tools for ddrescue version 1.14 in the ddrescue tools package in the tools package (Tools/DDRescueTools/one_point_forteen.py)¶
Tools for ddrescue v1.14 or newer.
- ddrescue_gui.Tools.DDRescueTools.one_point_fourteen.get_current_rate_error_size_recovered_data(split_line)[source]¶
Get Current Read Rate, Error Size, and Recovered Data values.
- Args:
- split_line (string): The line from ddrescue’s output that contains
the information, split by whitespace.
Works with ddrescue versions: 1.14,1.15,1.16,1.17,1.18,1.19,1.20
- ddrescue_gui.Tools.DDRescueTools.one_point_fourteen.get_inputpos_numerrors_averagereadrate(split_line)[source]¶
Get Input Position, Number of Errors, and Average Read Rate values.
- Args:
- split_line (string): The line from ddrescue’s output that contains
the information, split by whitespace.
Works with ddrescue versions: 1.14,1.15,1.16,1.17,1.18,1.19,1.20
- ddrescue_gui.Tools.DDRescueTools.one_point_fourteen.get_outputpos_time_since_last_read(split_line)[source]¶
Get Output Position and Time Since Last Successful Read values.
- Args:
- split_line (string): The line from ddrescue’s output that contains
the information, split by whitespace.
Works with ddrescue versions: 1.14,1.15,1.16,1.17
- ddrescue_gui.Tools.DDRescueTools.one_point_fourteen.get_time_remaining(average_read_rate, average_read_rate_unit, disk_capacity, disk_capacity_unit, recovered_data)[source]¶
Calculate remaining time based on the average read rate and the current amount of data recovered.
- Returns:
- string. The remaining time in human-readable form eg
“10.2 minutes”, “4.3 days” etc, or “Unknown” if unable to calculate.
Works with ddrescue versions: 1.14,1.15,1.16,1.17,1.18,1.19