Glossary
Avail — the space on a
filesystem still available to an
ordinary user, after any blocks
reserved for the administrator are
set aside. The number to watch;
in duf's JSON it is named free.
Bind mount — a mount that makes an existing folder (or file) appear again at another place in the tree. One storage, several addresses — and, in a mount list, several rows for the same space.
Block — the fixed-size unit a filesystem counts space in, commonly 4096 bytes. statfs reports blocks; tools multiply to get bytes.
Device — the storage behind a
mount: a disk or partition, a
volume, or a name like tmpfs for
a memory filesystem.
df — "disk free", the original Unix reporter of filesystem space, against which this guide checks duf throughout.
Filesystem — an organised storage area with a size, a type, and a mount point: the thing duf reports on.
Group — duf's sorting of mounts into local, network, special, fuse, loops and binds, each drawn as its own table and usable as a filter.
Human-readable units — sizes printed as 200.0G instead of byte counts. Duf uses binary units (1G = 1024³ bytes) with one decimal place.
Inode — a filesystem's slot for one file: every file and folder occupies one. A fixed supply on many filesystems; a second budget that can run out while space remains.
JSON — a structured text
format for data. Duf's --json
emits its whole inventory as one
array of objects, in bytes, for
scripts.
Mount point — the folder in
the tree of files where a
filesystem appears: /, /home,
/tmp.
Mount table — the kernel's
list of everything currently
mounted, visible on Linux in
/proc/self/mounts.
Overlay — a filesystem type that layers folders over one another into one view, common in containers and live systems; the lab machine's root filesystem.
Pseudo filesystem — a mount that is not storage at all but a window into the kernel (procfs, sysfs and kin). Part of what duf's default filter tidies away.
Reserved blocks — a portion of some filesystems set aside so only the administrator's processes can fill the very last space. Why "size minus used" and "avail" can differ.
statfs — the system call that answers "how big, how full, how many inodes" for one filesystem. Both duf and df are presenters of its reply.
Threshold — the fullness or remaining-space value at which duf changes a colour: the usage bar's yellow and red points, and the AVAIL column's.
tmpfs — a filesystem that lives in memory: fast, volatile, and gone at reboot. Much of any Linux machine's "special" group.