detect PRIVATE/M4ROOT and return the requested store count (closes #6) #10

Merged
clawbot merged 1 commits from issue-6-mountpoint-detection into next 2026-11-02 21:01:29 +01:00
1 Commits
Author SHA1 Message Date
clawbot bf4cf5e1c2 detect PRIVATE/M4ROOT and return the requested store count (closes #6)
A card was detected only with M4ROOT at its root, and asking for two or
more stores returned one too few. A mount point now counts when its root
holds a DCIM or PRIVATE/M4ROOT directory, and the count is exact.

The check and the counting are split from the partition listing so tests
can hand them temporary directories.

Model: opus-5-5
2026-11-02 19:33:06 +00:00