From 5e33a716f58b1b8b141063542562f9558537bac2 Mon Sep 17 00:00:00 2001 From: ww8l Date: Sat, 22 Aug 2026 15:09:49 -0600 Subject: [PATCH] Find microSD cards on Linux, through the mount table (#106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `mounted_roots()` handled Windows and macOS and let Linux fall through to the macOS branch, where `read_dir("/Volumes")` returns an error that `unwrap_or_default()` threw away. On Linux the list was therefore always empty: no card was ever detected, FT5D / ID-52 / TH-D75 were unusable, and nothing said why. Reproduced on a real Linux box — the operator has to navigate to the card by hand. Linux has no `/Volumes` equivalent to guess at. udisks2 mounts under `/media//