IT lexicon › Infra & Ops › libnetfs

libnetfs

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

The Hurd library for translators that present whole directory trees with no disk behind them.

Of the Hurd's three file-system helper libraries, libnetfs sits in the middle. libtrivfs covers a single node with no children, libdiskfs assumes blocks on a disk, and libnetfs handles everything in between: trees of directories and files that are computed, fetched over the network or simply made up. The programmer fills in callbacks such as netfs_attempt_lookup, netfs_get_dirents and netfs_attempt_read, and the library takes care of the rest of the file protocol.

The textbook case is ftpfs, which mounts an FTP server as an ordinary directory — without root, since any user may attach a translator to a node they own. The Hurd's procfs is built the same way. It is the part of the Hurd that best shows what the whole idea was supposed to buy.

← Back to the lexicon