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

From: Sage Weil
Date: Tue Jul 15 2008 - 17:52:18 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/