2c9e56e830
Improve device size reporting in the description
...
i.e. support 512GB SSDs, 1.5TB HDDs, etc
Addresses issue #199
2022-10-08 16:33:50 -07:00
6880a353cc
Set known_attributes when intializing Disk()
...
This new design uses copy.deepcopy() to avoid erroneous thresholds being
applied to drives during diags. This also reduces the number of lookups
to one per Disk.
2022-10-08 14:15:32 -07:00
f008546565
Avoid crashing if a device disconnects mid-diags
2022-09-24 19:58:41 -07:00
7abd4c21c3
Refactor Disk children sections
...
Child devices are not added by default to improve performance.
Disk.children is always present to avoid overly cautious lookups.
2022-05-21 15:03:44 -07:00
e03956f2fe
Convert Disk description to a property
2022-05-21 14:39:42 -07:00
29d4e80f7e
Refactor get_disks_macos() to improve performance
...
Found a way to easily exclude disk images from the list under El Cap
2022-05-20 19:44:12 -07:00
cf7ed909b3
Remove Python 3.10 requirement
2022-05-20 17:08:10 -07:00
5fc5cda86d
Avoid adding duplicate attribute failure notes
2022-05-14 17:51:43 -07:00
6642aad2c8
Update ddrescue-tui to use new Disk object vars
2022-05-01 16:20:39 -07:00
46eb737dc8
Move SMART functions to their own file
2022-04-06 16:22:58 -06:00
172cb398ba
Convert hardware objects to dataclasses
2022-04-04 18:30:21 -06:00