devices: USB drives and other disks in the sidebar, with mount and unmount

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-25 14:30:02 -06:00
commit ef04575f35

View file

@ -308,5 +308,10 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
- Verified: package built and listed, its binary drew a PNG; user install + uninstall in a scratch PREFIX; --system with a stand-in sudo.
- Not done: the package and --system not run against the real /usr.
## Drives in the sidebar (user request)
- Done: `tunal-devices::drives` (UDisks2 over zbus: list, hotplug, mount, unmount, power off/eject); Devices section lists USB drives, cards, discs and inner disks the system does not run on (under /run/media, /media, /mnt or unmounted); click mounts and opens, row button unmounts (ejects an iPhone), menu has Mount/Unmount/Safely remove; panes in a drive that went away go home.
- Verified: clippy on tunal + tunal-devices, release build; the user's USB stick opened, unmounted and mounted again under Xvfb.
- Not done: Safely remove not run (needs a replug); inner disks, cards and discs not tried; locked (LUKS) drives are not listed; no test run.
## Later
-