IT lexicon › Infra & Ops › Disklabel

Disklabel

Infra & Ops På svenska → Updated: 2026-11-09

The BSD world's own partition table, with partitions named by letter and one that traditionally means the whole disk.

The disklabel was born on BSD's Unix machines long before the PC's MBR mattered. It splits a disk into partitions labelled a, b, c and onwards: by convention a is the root filesystem, b is swap and c is the entire disk. On PCs the label lives inside a single MBR partition — a slice in FreeBSD terms — so one disk can carry two layers of partitioning at once.

The disklabel tool reads and writes the table. OpenBSD and NetBSD still use it as their primary model, even on top of GPT. FreeBSD renamed its tool bsdlabel in 2003 and has since largely moved to GPT via GEOM — which makes "ad0s1a" one of the more recognisable timestamps in an old fstab.

← Back to the lexicon