IT lexicon › Programming › Storage Kit (BeOS)

Storage Kit (BeOS)

Programming På svenska → Updated: 2026-11-09

The C++ filesystem API of BeOS and Haiku, in which files, directories, attributes and queries are objects rather than file descriptors.

The kit is made up of classes such as BEntry (an entry in a directory), BNode (whatever sits behind it), BFile, BDirectory, BPath and BVolume. The interesting part is what it exposes from BFS: BNode::ReadAttr() and WriteAttr() read and write arbitrary attributes on files, and BQuery finds files by attribute value straight from the filesystem's indexes.

BMimeType and BNodeInfo handle file types, stored as attributes instead of guessed from the extension. Together with the node monitor this gave BeOS a database-in-the-filesystem two decades before desktop search became a selling point. Haiku has rebuilt the kit class by class from the Be Book.

← Back to the lexicon