Storage glossary · JSON corpus · llms.txt · hesela.com

open-file-description · shipping · also OFD

Open file description

An open file description is a system-wide open-file object referenced by one or more file descriptors and holding state such as the current file offset and file status flags.

On Linux, each successful open creates a new open file description; dup and descriptors inherited through fork refer to the existing object. In the generic writeback-error path, that object's f_wb_err cursor is shared by its aliases. This source-code relationship explains why two descriptor numbers need not provide independent error observations.

Relations

related
fsync, writeback-error, errseq-t

Limitations

Citations

  1. Linux man-pages 6.19: open(2), open file descriptions (accessed 2026-10-13)
  2. Linux man-pages 6.19: dup(2), shared open file descriptions (accessed 2026-10-13)
  3. Linux v6.12: file_check_and_advance_wb_err in mm/filemap.c (accessed 2026-10-13)
  4. Hesela: Two descriptors are not necessarily two error observers (accessed 2026-10-13)

JSON: /data/terms/open-file-description.json