Instead of calling lsblk twice per device (once for size, once for mount points), now performs a single lsblk call at start and caches: - LSBLK_SIZE: Device sizes - LSBLK_MOUNTS: Mount points (accumulated for partitions) This reduces the number of subprocess calls significantly, especially on systems with many drives. Fixes: #16 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 KiB
41 KiB