Split SMART data handling into two functions: - parse_smart_data(): Parses raw smartctl output (no I/O) - get_drive_smart_info(): Fetches and parses (wrapper) Changed parallel collection to save raw smartctl output to cache files, then parse during the display loop. This avoids issues with function availability in background subshells when running from process substitution (bash <(curl ...)). Also fixed: - Removed orphan code that was outside function scope - Fixed lsblk caching to use separate calls for SIZE and MOUNTPOINT Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 KiB
44 KiB