[TUHS] inodes, inumbers, and versions

Bakul Shah via TUHS tuhs at tuhs.org
Sat Feb 7 03:53:22 AEST 2026



> On Feb 6, 2026, at 8:01 AM, ron minnich via TUHS <tuhs at tuhs.org> wrote:
> 
> At some point there was an issue around inumbers being recycled, such that
> a file might be opened, have an inumber that had been used, and confusion
> followed.

An opened file's dir entry may be removed but its inode would not be removed
until its refcount (number of opens) drops to zero so no such confusion.

> IIRC, there was a version field that was added to the inode (?), so protect
> against this.

This was likely added for the "stateless" NFS to deal with "ABA problem".



More information about the TUHS mailing list