File trees: the deeper, the weirder
Yar Tikhiy
yar at comp.chem.msu.su
Mon Oct 30 12:34:53 UTC 2006
On Sun, Oct 29, 2006 at 03:22:27PM +0000, David Malone wrote:
> On Sun, Oct 29, 2006 at 05:07:16PM +0300, Yar Tikhiy wrote:
> > Weird, eh? Any ideas what's going on?
>
> I would guess that you need a new vnode to create the new file, but no
> vnodes are obvious candidates for freeing because they all have a child
> directory in use. Is there some sort of vnode clearing that goes on every
> second if we are short of vnodes?
It seems to me that in Unix, when a process chdir's to a directory,
the parent directory of the latter (and the whole chain of them up
to the root dir) isn't kept busy. Is this untrue?
--
Yar
More information about the freebsd-hackers
mailing list