bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st_nlink of directory nodes in shadowfs


From: Thomas Bushnell, BSG
Subject: Re: st_nlink of directory nodes in shadowfs
Date: 27 Oct 2001 19:45:01 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Moritz Schulte <moritz@chaosdorf.de> writes:

> tb@becket.net (Thomas Bushnell, BSG) writes:
> 
> > But that's not so bad.  It doesn't mean checking every single entry
> > in both directories; it means checking only those elements which are
> > duplicated names.
> 
> Sure; I was referring to the dir_readdir()s needed for a simple
> directory lookup...

Oh, well you only need that once.

My thought has always been that an efficient shadow directory would
scan the underlying directories once on startup, and after that would
maintain correct information through the change-notification
mechanism.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]