Files
driveAtlas/driveAtlas.sh
Jared Vititoe b61a9305ab Cache lsblk output to reduce redundant calls
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>
2026-02-05 11:41:31 -05:00

41 KiB