libdiskfs
The Hurd library that lets a disk-based file system be written as an ordinary user process.
The Hurd ships three helper libraries for writing a translator: libtrivfs for a single node, libnetfs for virtual trees and libdiskfs for the heavy case — real file systems with inodes, blocks and directories on disk. The library implements the full file protocol, permission checks, directory lookups and syncing; the file system itself only has to describe how nodes are read and written in its on-disk format.
Underneath sits libpager, which hooks into Mach's external pager interface so file contents can be memory-mapped directly. The Hurd's ext2fs, isofs and fatfs are all built on libdiskfs, which goes some way to explaining why ext2 was for years the only file system the Hurd could boot from: adding another is a project, not an afternoon.