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

directory-fsync · shipping · also directory synchronization, parent-directory fsync

Directory fsync

Directory fsync is synchronization of a directory descriptor to persist directory state, including changes to the names through which files are reached.

On Linux, a file sync does not necessarily persist its directory entry. Keep the name-persistence boundary separate from content persistence when reviewing replacement protocols; directory synchronization is not a transaction across arbitrary files.

Relations

related
fsync, persistence-ordering, crash-consistency

Citations

  1. Linux man-pages 6.19, fsync(2): DESCRIPTION and error handling. (accessed 2026-10-11)
  2. Hesela: Atomic rename is not a durable commit (accessed 2026-10-11)

JSON: /data/terms/directory-fsync.json