diff --git a/scripts/wk/hw/disk.py b/scripts/wk/hw/disk.py index af454005..c84fa69d 100644 --- a/scripts/wk/hw/disk.py +++ b/scripts/wk/hw/disk.py @@ -373,6 +373,10 @@ def get_disks_linux() -> list[Disk]: if disk_obj.raw_details.get('type', '???') != 'disk': continue + # Skip empty devices (usually card readers) + if disk_obj.size <= 0: + continue + # Add disk disks.append(disk_obj)