Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

KDOS from Scratch

This book gives the commands. It shows how KDOS is built from source, phase by phase and package by package, and how a running KDOS machine is looked after, one task at a time. It is the second of KDOS’s two books. The KDOS book explains what each part of the system is and why it was chosen. Where the two books cover the same ground, this one links to the other rather than repeating it.

Where to start depends on what you are doing:

Edition. The book always matches the source tree it was rendered from. The edition line on its title page names the KDOS version, the edition, the commit and that commit’s date:

The book published on kdos.dev is rendered from main, so it is the development edition. Every KDOS release carries the PDF and HTML of its own commit, the edition that matches the system it ships.

How it is made. The narrative chapters are written by hand under docs/kfs/. The package pages are not: make book generates each one from its recipe every time the book is rendered, so a package page cannot describe a recipe other than the one in the tree. Sizes, build times and installed contents come from a snapshot of a built tree kept under docs/kfs/data/, which make book-data refreshes after a build.

Contents

Every part, chapter and package page is linked from the Contents page.

See also