IT lexicon › Infra & Ops › packagefs (Haiku)

packagefs (Haiku)

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

Haiku's virtual filesystem that presents installed packages as if they had been unpacked, without unpacking anything.

When Haiku got package management in 2013, it skipped the usual model where a package manager copies thousands of files around and keeps a ledger of them. Each hpkg file instead sits untouched in a packages directory, and packagefs is mounted over /boot/system, showing the merged contents of every active package. The hierarchy is read-only.

Installing becomes dropping a file into the directory; uninstalling, removing it, and both take effect immediately. Earlier states are kept, so a system that stopped booting after an update can be started with the previous set of packages. The price is that nothing in the system directories can be edited in place, which offends every instinct a Unix admin has.

← Back to the lexicon