native: add speed.mjs write-speed test + deleteFile/diskInfo/blockDevices
New JS bindings (all on the system.* namespace):
- system.deleteFile(path) — unlink + sync, returns bool
- system.diskInfo(path) — statvfs wrapper, returns {total, free,
available, blockSize} in bytes
- system.blockDevices() — scans /sys/block and returns an array of
{name, sizeBytes, removable, vendor, model}
for every real disk (skips loop/ram/dm)
New piece: speed.mjs
- Lists every block device with size + model + removable badge
- Benchmarks sequential write throughput against three mount points
(usb /mnt, hdd /tmp/hd, tmpfs /tmp) at 1/4/16 MiB sizes
- Reports MB/s color-coded (green > 50, amber > 10, red below)
- Also renders per-mount free-space bars so you can see at a glance
where capacity vs speed is limiting you
- Controls: SPACE/ENTER to run, ESC to return
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>