Directory entries source and alias both point to one inode. An in-place write through either name changes the shared bytes; neither name is intrinsically the original.

Hard links share an inode until a name is replaced

A hard link adds another directory entry referring to an existing file. Neither name is intrinsically the original: both identify the same inode within its filesystem. File content, ownership, permissions, and link count belong to that shared object. A filename is a way to reach it, so changes to directory entries must be distinguished from changes to the file itself. ...

October 10, 2027 · 5 min · XB Field Notes