PROPHET/OS
NAME
disks: shows the drives with their size, their driver and what sits on them
SYNOPSIS
disks [--health] [--tui]
DESCRIPTION
Shows the drives with their size, their driver and what sits on them.
The drive numbers here are the numbers mkfs.pfs, mkfs.fat32, zfs create and mount take. Drive 0 is the one the machine started from, and a typo that hits it formats the running system.
A partition is a row like a drive, and two columns tell them apart: On says which drive it sits on, Start at which sector. Without them a list of four drives with four partitions reads as eight drives. Kind says MBR or GPT where a table was found. Access counts reads and writes, Errors what the driver reported; a drive with an error is red in the live shape.
--health is the second table of the same subject: what every drive counts about itself, one row per whole drive. Realloc, Pending and Uncorr are the sectors the medium lost, is about to lose and could not read; Hours is how long it has run, Temp its temperature in degrees, Spare the share of spare blocks left and Used the share of its endurance spent. Health carries the verdict in one word, and healthy is only one of them.
**An empty field is a value the drive does not answer, and a zero is an answer.** A disk carries no spare blocks, a flash chip reallocates no sectors, and a drive whose table omits the pending sectors has never counted them. None of that reads as zero here, because zero is what a healthy drive says. A drive nobody could ask at all stands grey with unknown; a drive with a finding stands red.
The counters are read once when the drive comes into service, and the head line says at which millisecond of the run that was.
--tui takes the whole screen and keeps the list live; the arrows and the two page keys move in it, q leaves. Both shapes show the same table, and that is why they cannot drift apart: it stands once, in lib/os/board.c.
It was called lsblk until 2026-10-02, a name out of another system.
EXAMPLE
$ disks No On Kind Driver Model Start Size Sector Access Errors 0 blk.ahci QEMU HARDDISK 0 4.0 MiB 512 5 0 1 blk.ahci QEMU HARDDISK 0 405 MiB 512 8739 0 2 blk.ahci QEMU HARDDISK 0 122 MiB 512 434 0 3 1 GPT blk.ahci EFI 2048 211 MiB 512 3 0 4 1 GPT blk.ahci ROOT 434176 192 MiB 512 3 0
SEE ALSO
mounts, serves, mount, mkfs.pfs, mkfs.fat32, zfs