The window has the toolbar of the reference -- Mount, Unmount, **Eject**,
**Verify**, **Info**, **Log**, Refresh, Unlock -- and its four tabs:
First Aid, Erase, and **RAID** and **Restore**. Under the list, a two-column
detail block shows what the chosen disk is: Device, Mount Point, Format,
Capacity, Available, Used, all from mcde_sys_disks (the used and free values
when it is mounted).
* Eject unmounts and says the medium can be removed. McdeSys has no eject
ioctl yet (CDROMEJECT/DIOCEJECT); that is named here, not hidden.
* Verify is the First Aid page's Verify Disk; Info opens a small window
with the same values as the detail block; Log switches to First Aid and
opens its report ("Show details" does the same by hand).
* The RAID and Restore tabs say what they wait for: a set is made with
RAIDframe or ccd(4) and raidctl(8), a restore copies with dump/restore
or dd through McdeSys; neither is built.
Measured under Xvfb with xdotool:
- docs/screenshots/leopard/Disk-Utility-mcde.png: the toolbar, the four
tabs, the list of the host's disk, and the detail block with
/dev/nvme0n1p1, /boot/efi, vfat, 1.0 GB, 1.0 GB available, 10 MB used;
- Info shows the same values in a dialog ("Disk Utility");
- Log brings First Aid and its report back, the status line says "Log";
- RAID shows its notice;
- a partition that holds the system has Eject insensitive, a partition
that is not mounted has it insensitive too.
Not built (the task's VM part): Volume reparieren (fsck -y through McdeSys,
only on an unmounted, non-system partition), RAID/ccd sets, restoring and
images (vnconfig/makefs), burning. A VM with a spare disk is needed for
their tests; they are named in the tabs and are the follow-up task.