016f87b76c
Don't hide source dev when selecting dest dev
...
* Disable the entry instead
* It's more clear what's being done
2018-07-19 00:43:41 -06:00
7597394d61
Build real ddrescue cmd for Cloning or Imaging
...
* --force is only used for cloning
2018-07-18 23:53:05 -06:00
d09664bb7d
Misc cleanup
2018-07-18 23:37:02 -06:00
f84413f1a9
Fix SMART not available warning
2018-07-18 23:36:15 -06:00
e640caee74
Add dest image/map path sections
2018-07-18 23:19:42 -06:00
646e1a3764
Show list of authorized fstypes with error
2018-07-18 22:17:32 -06:00
19dcc87950
Pause when showing usage
2018-07-18 22:09:47 -06:00
e5ce254e8b
Verify destination FS is mounted read-write
2018-07-18 22:02:17 -06:00
f2c557f77c
Added safety checks for the destination
...
* Dev size / avail space checks
* Permission checks
* No mount option checks (yet?)
2018-07-18 20:54:51 -06:00
88c28a3f25
Added auto-continue code
...
* Enabled by default
* Based on static thresholds per pass.
* Pass 1: 85%
* Pass 2: 98%
* If using child devices, all must be above the threshold to continue
2018-07-18 18:26:03 -06:00
9d91a28d7a
Add children pass, status, and update sections
...
* Updating device / child device status/progress done in mark_*() functions
* Add current pass description to main menu
* Current pass (overall) only updated if all children have passed
* Fix Pass 4 crash
2018-07-17 23:22:08 -06:00
c705ba6afc
Add pass completion detection sections
...
* Retry option now sets recovery back to pass 1
2018-07-17 22:10:37 -06:00
a12a591279
Moved SMART sections to a separate script
...
* Refresh rate is now handled by 'watch --interval'
* Allows for much simpler ddrescue execution / tracking
* Removed all 'SMART Report' sections from functions/ddrescue.py
* functions/hw_diags.py has been further extended
* Supports full device paths (only for displaying attributes ATM)
* Adds a timestamp when only displaying attributes
2018-07-17 21:05:37 -06:00
358191539c
Added run_ddrescue() and update_smart_report()
...
* Working "wait" loop while ddrescue is running.
2018-07-17 19:19:38 -06:00
d1d3e1592e
Added get_process()
2018-07-17 18:11:23 -06:00
7d851d2222
Add settings menu
2018-07-17 16:59:45 -06:00
310a2eb63a
Initial Main Menu code
...
* Required refactoring pass status code
* Need to add settings menu next
2018-07-17 16:01:29 -06:00
fd8ac7cf1a
Add child device selection menu for Image mode
...
* Can select either whole device or child dev(s), not both
2018-07-17 14:16:38 -06:00
de8f3bbd2b
Use image file instead of loopback device
...
* Still setup loopback for image details but use image directly in ddrescue
* Adjusted outer/side panes to use image path instead of loopback dev
2018-07-17 13:21:12 -06:00
29266f1611
Added initial Imaging source child dev support
2018-07-17 01:11:43 -06:00
1e4a3b6c0e
Fix provided_path for Imaging and adjust top panes
...
* Moved select_path menu sections to menu_select_path()
2018-07-17 00:49:41 -06:00
007d2ef692
Added select_path() for Image mode
...
* Can select the current path, a local device's volume, or enter manually
* Optionally add a ticket folder to path before imaging
2018-07-17 00:15:28 -06:00
c37dab58af
Updated mount_all_volumes(), now mount_volumes()
...
* Now allows mounting R/W
* Can restrict to a specific device's volume(s)
* Added more data to the returned report
2018-07-17 00:06:43 -06:00
6eb486c770
Extend get_simple_string() to support underscores
2018-07-17 00:05:47 -06:00
9a27afebf7
Moved selection details into its own function
...
* Will allow for better duplication in Image mode
2018-07-16 22:19:39 -06:00
6643cf5d25
Moved outer pane section to its own function
...
* Will allow better duplication with Image mode
2018-07-16 22:08:00 -06:00
552868c26e
Moved safety check into its own function
...
* Will allow better duplication with Image mode
2018-07-16 22:04:09 -06:00
69909fa34c
Added safety check
2018-07-16 21:02:53 -06:00
855884ec93
Added initial update_progress() sections
...
* TODO: expand to support Image mode
2018-07-16 21:01:10 -06:00
ae4f2ac680
Added outer panes
2018-07-16 19:40:29 -06:00
b5d8a55031
Reordered functions
2018-07-16 18:07:12 -06:00
e56296d8b0
Consolidated device selection code
...
* Common code moved to select_device()
* Existing select_device() renamed menu_select_device()
* Fixed skip_device code
* Refactored source/dest vars into dicts
* Added confirmation after source/dest are selected
2018-07-16 18:01:06 -06:00
b2fc7ea860
Renamed script ddrescue-tui, added launcher script
...
Launcher script runs the python script in tmux (same as hw-diags)
2018-07-16 17:58:29 -06:00
0c3b90eb63
Add clone destination sections
...
* Hide source device in dest selection menu
2018-07-15 00:04:24 -06:00
cfbd0ec8f2
Add device selection menu
2018-07-14 23:45:08 -06:00
667223b3c2
Check passed source
...
* If it's an image, setup loopback dev
* If it's a child block dev, prompt with option to use parent block
* Show selected source details
2018-07-14 22:52:18 -06:00
8b1e19fa4b
Initial wk-ddrescue menu
2018-07-14 21:19:08 -06:00
d57b08ec6f
Update hw_diags so it can be used by wk-ddrescue
2018-07-14 21:17:32 -06:00
2Shirt
bbfcc2e3fe
Hotfix: Handle size=None in human_readable_size()
2018-05-30 17:26:49 -06:00
2Shirt
7559a673ef
Added VirtIO drivers
2018-05-23 19:20:57 -06:00
2Shirt
2dabfd4020
Hide more root items
2018-05-22 20:55:11 -06:00
2Shirt
341f424eae
Use a different label for combined kits
...
* WK_LINUX doesn't reflect what the UFDs actually contain
2018-05-22 20:47:18 -06:00
2Shirt
69cbbbc203
Suppress SDIO warning
...
If there's hidden folders at the root of the device it's running from
then it shows a red banner with a "you may have a virus!" warning..
This check has been disabled
2018-05-22 20:09:43 -06:00
2Shirt
c7ae1b1dc7
Moved SafeMode scripts into the Misc folder
2018-05-22 20:05:49 -06:00
2Shirt
da61ea3856
Updated SW diag/checklist summaries to match
...
* Also added AV check to SW diag
2018-05-22 19:33:21 -06:00
2Shirt
0b1d7bb4f3
Adjusted system_diagnostics.py messages
2018-05-22 12:49:00 -06:00
2Shirt
5b0e7b9dfe
cbin copied correctly again in Copy WizardKit.cmd
2018-05-22 12:26:43 -06:00
2Shirt
0063de6846
Bump TeamViewer version
2018-05-22 12:24:33 -06:00
2Shirt
24df753a40
Add support for LVM and RAID to mount-all-volumes
...
* Renamed get_mounted_data to get_mounted_volumes
* Report data is now a dict for better clarity
* Widened report hoping that LVM names will fit (they probably wont)
* This fixes #38
2018-05-21 20:25:12 -06:00
2Shirt
e6b7cc602b
Report missing hw-info data
...
* Show UNKNOWN for missing DMI variables
* Suppress errors for systems w/out sound cards
* Suppress errors for glxinfo
* Keep revision numbers for network devices
2018-05-21 20:18:13 -06:00