BFS: How Haiku's File System Doubles as a Database
How Haiku BFS combines typed attributes, per-volume indexes, query predicates, live updates, B+trees, and journaling without becoming SQL.
tag
30 posts
How Haiku BFS combines typed attributes, per-volume indexes, query predicates, live updates, B+trees, and journaling without becoming SQL.
A stage-by-stage guide to Haiku boot, from BIOS or UEFI handoff through packages, kernel initialization, launch_daemon, and recovery.
How Haiku's device manager matches modular drivers, builds a node tree, publishes /dev interfaces, handles removal, and limits support claims.
A layer-by-layer Haiku audio workflow covering mixers, selected outputs, media-service restart, node detection, drivers, logs, and reports.
Use Haiku Boot Loader Options as controlled tests for video, add-ons, packages, CPUs, interrupts, storage, and logs without blind changes.
A controlled Haiku graphics workflow using fail-safe video, exact adapter IDs, conservative modes, logs, component blocking, and reports.
Diagnose Haiku DHCP failures in order: device and link, Wi-Fi association, lease and routes, DNS, static comparison, logs, and reports.
Fix Haiku package conflicts by inspecting installed scopes and solver plans, synchronizing trusted repositories, and using bootable states.
Recover Tracker without rebooting, preserve Haiku crash and thread evidence, isolate folders, add-ons and settings, then verify the trigger.
How BeOS's commercial rise and fall inspired a community to rebuild its technologies and user experience as the open-source Haiku project.
Build and test a Haiku backup that preserves BFS attributes, user settings, package inventory, writable state, and safe restore boundaries.
Prepare a native Haiku toolchain, compile and inspect a minimal Kit application, then build a reproducible x86_64 system image safely.
Verify an official Haiku image, test it live in a VM, prepare BFS and firmware boot safely, install, reboot, and validate the result.
Create typed BFS metadata, index it per volume, build and save accurate Tracker queries, and verify live results without losing attributes.
Use Haiku's limited POSIX account tools for services and shell tests while understanding why they do not create separate desktop users.
Search, install, update and remove Haiku packages safely, audit repositories and package state, and recover without imaginary rollback commands.
Use Haiku Terminal, Bash profiles and native filesystem tools safely, write portable scripts, and separate POSIX habits from Linux assumptions.
A source-grounded map of Haiku's kernel: teams and threads, virtual memory, IPC, scheduling, modules, system calls, drivers, and debugging.
How Haiku's native API is divided into cooperating Kits, with shared conventions for messages, ownership, status codes, linking, and threads.
How Haiku BQuery combines BFS indexes, typed predicates, BMessenger updates, saved searches, and defensive state reconciliation.
How Haiku BLoopers own dispatch contexts, BHandlers receive typed messages, BMessengers cross threads, and locking preserves state.
How Haiku's Media Kit connects producer, consumer, filter, control, and time-source nodes using negotiated formats and shared buffers.
Haiku's packagefs-based management arrived in September 2013, replacing extracted installs with activated HPKG files and reversible states.
Haiku R1 Beta 2 shipped on June 9, 2020 with accumulated system, application, hardware, and compatibility improvements after Beta 1.
Haiku R1 Beta 4 arrived on December 23, 2022 with another broad round of hardware, performance, application, and compatibility improvements.
Released September 13, 2024, Beta 5 closed out nearly 350 bug and enhancement tickets, added a full GDB 15 port, and brought USB audio device support to the system.
Why Haiku is a BeOS-compatible system with NewOS kernel roots and native Kits, despite its POSIX APIs, shell, ports, and Unix software.
How Haiku packagefs presents HPKG contents, preserves writable shine-through directories, activates consistent states, and enables rollback.
Configure Haiku Deskbar, app lists and tray, add the Workspaces applet, switch or carry windows by keyboard, and organize daily tasks.
Haiku R1 Alpha 1 arrived on September 14, 2009 as the project's first official public release, distributed as an installable live CD.