9f12f2c856
Added SMART 199/C7 warning/override to HW-Diags
2018-09-12 15:39:28 -06:00
8fec6fc5b9
Save raw I/O read rates in log
2018-09-12 14:46:04 -06:00
793581ac22
Rewrote I/O benchmark sections
...
* Displays graph during test and in summary
* Reduce test area to speedup the benchmark
* Addresses issues #48 & #49
2018-09-09 19:41:46 -06:00
5ef7c9b16e
Updated functions/network.py
2018-09-04 22:35:39 -06:00
a35be68780
Add net devices to Conky before starting
2018-09-04 22:22:21 -06:00
0d0defb8de
Merge branch 'datarec' into dev
2018-09-03 23:13:47 -06:00
240c55f407
Remove more whitespace from image/map names
2018-09-03 23:13:17 -06:00
78c6024b95
Merge datarec updates
2018-09-03 23:00:13 -06:00
d35dba7539
Prevent crash when retrying recovery
...
* IMO ddrescue was exiting too quickly to load the map data so I'll assume 0b
2018-09-03 22:58:20 -06:00
bd47f08996
Removed (Whole) label when imaging
...
* If only one partition was selected it would be incorrectly labeled "Whole"
* Easier to remove the label than rework the data structures
2018-09-03 21:45:46 -06:00
9dbfce94d4
Fix auto continue logic
2018-09-03 21:44:28 -06:00
86fc23aed8
Fix pass number in status pane
...
* It was using the internal 0-2 instead of the display 1-3
2018-09-03 21:42:37 -06:00
dbf4559e14
Adjusted image/map filenames
...
* Partition filenames should include '_pX_' instead of just '_X_'
* Trailing whitespace should be removed
2018-09-03 21:39:32 -06:00
7cfdddcfbd
Fix using image file for clone source
2018-09-03 21:34:14 -06:00
b2e287520c
Fix help flags
2018-09-03 21:32:31 -06:00
84d7207d90
(Re)Add SMART values 196 and 199
...
* Value is only displayed, no additional aborts
2018-08-31 15:32:01 -06:00
bb631b39e9
Merge branch 'datarec' into dev
2018-08-19 19:28:03 -07:00
1d0378dd7b
Training wheels off
2018-08-19 19:23:24 -07:00
ee4cea3b01
Added systemd journal pane
2018-08-16 01:58:22 -07:00
0c8de47893
Reworked auto mode and pass status sections
2018-08-16 01:49:06 -07:00
2272d133f9
Fixed update_progress & update_sidepane
2018-08-16 01:18:06 -07:00
afaee53077
Fixed current_pass updates/progression
2018-08-16 00:43:09 -07:00
7d30a735fc
Fix retry option and settings sections
2018-08-16 00:18:25 -07:00
8461e581ea
Updated menu_settings() to use RecoveryState
2018-08-15 23:24:01 -07:00
5948d1a62f
Fixed menu_main() arguments
2018-08-15 22:50:47 -07:00
5ac05c943e
Removed unused function show_device_details()
2018-08-15 22:50:05 -07:00
ca78da4dd4
Updated show_selection_details()
2018-08-15 22:49:43 -07:00
bb270715c1
Updated run_ddrescue() to use new objects
2018-08-15 22:38:54 -07:00
53a899f967
Updated menu_main() to use RecoveryState obj
...
* Also fixed rescued size calculations (again)
2018-08-15 21:53:22 -07:00
e0a695a673
Enable help flags for aliases
2018-08-15 20:35:09 -07:00
1a983344c2
Updated update_progress()
2018-08-02 00:42:14 -07:00
d474c8b5d4
Updated build_outer_panes() *BROKEN*
...
* Script broken until update_progress() is fixed
2018-08-01 23:56:25 -07:00
c568668fd0
Re-added 'Create ticket folder?' section
...
* Only asked if imaging and mounting a local device for the destination.
2018-08-01 23:39:19 -07:00
177bf10e2d
Added select_parts() function
...
* This replaced menu_select_children()
* Removed menu_select_children()
2018-08-01 23:32:39 -07:00
459b78dcc3
Updated select_dest_path(), now select_path()
...
* Moved menu_select_path() code into select_path()
* Removed menu_select_path()
* Fixed formatting in get_dir_report()
2018-08-01 23:04:44 -07:00
ccf7f0686e
Updated select_device() to use DevObj()
...
* Also fixed child/parent check(s)
* Removed menu_select_device() since code was moved into select_device()
2018-08-01 22:25:01 -07:00
03bdb4b4b7
Reordered classes and removed old menu functions
2018-08-01 21:12:05 -07:00
7ac91fd312
Adjust pass 1 threshold
2018-08-01 20:33:35 -07:00
1e195f70fc
Fixed names and started updating build_outer_panes
2018-07-26 20:49:27 -06:00
53f0b93a5f
Misc bugfixes
2018-07-26 20:24:34 -06:00
30b703e025
Updated get_formatted_status()
2018-07-26 20:09:48 -06:00
6cdc4015e7
Updated menu_ddrescue() and related sections
...
* RecoveryState is updated before confirmation(s)
* New confirmation prompt that supports both cloning and imaging modes
* Refactored show_selection_details() to use new objects
* Allows resumed state to be detected and prompt switched to "Resume?"
* Renamed function show_safety_check() to double_confirm_clone() for clarity
2018-07-26 19:34:51 -06:00
4047b956f5
Even better exception handling
2018-07-26 18:54:31 -06:00
a19ac4772b
Better exception handling
2018-07-26 18:29:14 -06:00
127c3b810d
Fixed image prefixes and removed unsused functions
2018-07-26 18:07:12 -06:00
d1eefd05ab
Major update to refactor for object-centricity
...
* Dest/map paths are now set in two steps:
* The filename prefix is set when creating the DevObj()
* The full paths are set when creating the BlockPair()
* Merged dest safety checks into RecoveryState.add_block_pair()
* Mostly check_dest_paths() and dest_safety_check()
* Moved dir RWX checks to is_writable_dir()
* Moved mount RW check to is_writable_filesystem()
* Started merging menu_clone() and menu_image() into menu_ddrescue()
2018-07-26 17:31:39 -06:00
6aeba34bdb
Include path in dir report
2018-07-25 23:57:50 -06:00
66c7563335
Set details for Dev/Dir/Image objects
...
* Colored report data is generated during obj instantiation
* Code has been moved into its own function
* Entire colored string is now stored for each Obj
* (Should make show_selection, etc more mode/Obj agnostic)
* loopback_dev vs image_path is now better separated
* losetup is called in ImageObj.set_details()
* loopback -D is still called during program cleanup/wrapup
* get_device_size_in_bytes() has been renamed get_size_in_bytes()
2018-07-25 23:31:04 -06:00
180eb0f9ef
Added base, dev, dir, and image objects
2018-07-25 21:44:40 -06:00
98b05c93bf
Moved menu_ddrescue() to ddrescue-tui-menu file
...
* Let's parse the sys.argv earlier in the process
2018-07-24 00:54:58 -06:00