Re: Recursive directory accounting for size, ctime, etc.

Sage Weil
2008-07-15T21:52:17Z

On Tue, 15 Jul 2008, Jamie Lokier wrote:
> J. Bruce Fields wrote:
> > I just wonder how one would explain to users (or application writers)
> > why changes to a file are reflected in the parent's rctime in one case,
> > and not in another, especially if the primary link is otherwise
> > indistinguishable from the others. The symptoms could be a bit
> > mysterious from their point of view.
>
> Btw, what happens when the primary link is deleted? Does another link
> become the primary link?

Yeah. It's initially moved to a hidden directory (along with
open-but-unlinked files), and then moved back into the hierarchy the next
time a remote link is used.

sage