Repository navigation
Mega Apps EN
Language: English | Mega-Apps
Since 3.0.0 the user surface is organized around eight merged apps. Each of them opens the same three doors; which one you use depends on whether you are exploring (wizard), scripting (classic), or want to be explicit about bypassing the menus (direct).
ush> disk-tool wizard: menus, checks, confirmations
ush> disk-tool direct lsblk explicit verbatim passthrough
ush> disk-tool lsblk classic dispatch = the historical command
All three produce the same service output - the wizard only adds detection, safety confirmations and grouping around it.
Running the app with no arguments opens an intent wizard:
- Numbered menus: press a single digit key (
1-9) to pick,qor ESC to quit/back. No Enter needed. - Destructive paths (mkfs, abdisk, install, rm, power actions) ask
for the target name, make you retype it, then a bare
y- anything else aborts. - Wizards read the same English service output lines a script would
and can cross domains: the
updatewizard fixes a missing IP through DHCP and a missing A/B disk throughlsblk+abdiskbefore it ever checks for updates. - Everything renders through the active language:
lang zhswitches the whole wizard, menus included.
<app> direct <op> [args...] runs one op exactly as the historical
command did, with the word direct stripped from the argument line.
Use it in scripts when you want the intent to be self-documenting:
ush> update direct the historical bare `update` (online flow)
ush> sound-tool direct volume 50
ush> sysdiag direct health watch
<app> <op> [args...] looks the op up in the app's table and runs it
with the historical spelling - output is byte-identical to running
the single-command app of the same name. The single-command apps
remain registered (the interface-freeze rule: commands are added,
never removed), so lsblk and disk-tool lsblk are two doors into
the same service call.
An unknown op name prints the app's usage with its full op table:
ush> disk-tool nope
disk-tool: unknown op: nope
usage: disk-tool (interactive menu)
disk-tool direct <op> [args] (explicit passthrough)
disk-tool <op> [args] (classic op dispatch)
ops:
ahci
nvme
...
update (no args) walks the whole update intent in five steps:
- Network - reads the IP status; a 0.0.0.0 address offers a DHCP fix, then rechecks.
-
A/B disk - reads
update status; when the A/B disk is absent it listslsblk, asks for the device name (retyped + confirmed) and runsabdisk, then rechecks until present. -
DNS - parses the live
config get update_urlvalue and resolves the update host. -
Check -
checkupdate: up-to-date ends the wizard with OK. - Install - confirmed online update, then a confirmed reboot into the new slot.
Classic surface: update status, update --local <path>,
update <anything> = the verbatim OTA op.
Menu: lsblk / parted / mkfs submenu (FAT32, exFAT, ext4 - double confirmation) / mount manager (list, mount, umount, fatmount, fatstat) / fsck / dskstat / A/B manager (status, create, abcfg).
Classic table: all 23 block ops (ahci .. abcfg) plus the 6 fs ops
(mount, mounts, umount, fatmount, fatstat, tree).
Menu: show IP / DHCP / static IP (address, mask, gateway collected one field at a time) / DNS / WiFi manager (status, scan, test, sdio) / Bluetooth (status, usb, uart, test) / firewall / route + arp / connectivity tests (ping, wget, ssh, dnstest - ping and wget go through the same NETCMD bridge the historical apps used).
Classic table: the 14 net ops (arp .. sshd) plus wifi and bt.
Menu: device overview / volume (digits-only validation) / the 440 Hz test tone / per-driver status (HDA, AC'97, SB16, ES1370, virtio-snd, USB audio) / selftests (the RW loopback, sample-rate accuracy, or every driver's own selftest in sequence).
Classic table: all 17 snd ops (sound .. sample_rate_test).
Menu: ls / tree / disk usage (df + du) / copy / move / delete (with confirmation) / edit (the full-screen editor) / info + permissions (stat, then optional chmod with octal validation).
Dispatch here is fork + execve of the historical programs (the run
mechanism), because the file tools are real programs, not service
calls - the editor is interactive. Classic table: ls, tree, df,
du, cp, mv, rm, edit, stat, chmod.
Menu: health snapshot / kernel log / memory picture (mem + frag + heap) / scheduler + sync stats / crash records / log tools (logcat, logctl, health export, health watch) / selftest lab (memtest, heaptest, fstest, vmtest - individually or all four in sequence).
Classic table: all 39 diag ops plus health, dmesg/logcat/logctl and
watchdog - 46 entries. crashtest (deliberate panic injection) is
reachable through classic/direct only, on purpose.
Menu: system summary (uname -a + memory) / clock sources (RTC, HPET, PM timer, TSC) / PCI (lspci, pcidump, pcibars, pcie) / ACPI / SMBus-I2C / USB / camera & legacy input / display + font + encoding.
Classic table: 26 read-only ops across the display, time, net, diag, usb, camera and input surfaces.
Menu: shutdown / reboot / halt (each behind a bare-y confirmation) / sleep N seconds (digits validated) / power-path selftests (each with its own warning + confirmation - the probes exercise the real power paths).
Classic table: shutdown, poweroff, reboot, halt, sleep,
poweroff_test, suspend_test, halt_test, reboot_test.
Every wizard line renders through the active locale. Switch with:
ush> lang zh (menus, prompts and verdicts become Chinese)
ush> lang en (back to English)
A missing translation falls back to English, then to the key itself - an untranslated app can never crash or print garbage.