PROPHET/OS

NAME

mounts: shows every mount with its identity, whether it takes a write, its size and its use

SYNOPSIS

mounts [--tui]

DESCRIPTION

Shows every mount with its identity, whether it takes a write, its size and its use.

One row per mount, the root first because that is the one asked about first. Dev is the block device below it, the same number disks leads its drives with. Id is the identity: at GPT the one of the partition, otherwise the one of the filesystem. A name can occur twice, an identity cannot, and it stays put when somebody replugs the drive, which is why mounting goes by it and not by the port.

W says rw or ro, and Why the sentence that goes with a ro. The two are not the same question as a write pointer: a filesystem that **can** write still takes no byte when the root of this start is a snapshot (R9-WURZEL-05). A reason longer than the field of the board is cut there; the whole sentence stands in /state/mounts.

Walk says whether the path opens today. A no is a mount that stands in the table and whose path leads nowhere.

Size, Free and Use come from the filesystem itself and not from a count over the directory tree, so a snapshot that holds old blocks shows up as used space with no file to point at. A filesystem that does not know its free space leaves a dash there instead of an invented number. In the live shape a volume over 90 percent is red and one over 75 yellow.

--tui takes the whole screen and keeps the table 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 carries two programs over, both gone since 2026-10-02: df, and the showing of mount. mount mounts.

EXAMPLE

$ mounts
Mount                  FS       Dev       Size       Free  Use W  Walk Id                                   Why
/                      pfs        4    192 MiB   64.2 MiB  66% rw yes  -                                    -
/media/checks          fat32      2          -          -    - rw yes  33f2-d660                            -

SEE ALSO

mount, disks, pfs, zfs, free