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: Moritz Schulte
Subject: Re: st_nlink of directory nodes in shadowfs
Date: Sun, 28 Oct 2001 00:54:47 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Roland McGrath <roland@gnu.org> writes:

> I don't think the st_nlink value on a directory matters much to any
> user.

Sorry, i should have been more precise in my first mail.

GNU find for example uses that value. The wrong (too small) st_nlink
value was the cause for find not searching in the subdirectories of a
shadowfs.

Now i made the st_nlink of a directory in shadowfs be the sum of the
st_nlink values of the underlying directories; find works. But in the
case that there are directory entries with duplicate names in the
underlying directories, this value is to high. So, that is acceptable?

        moritz
-- 
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
"In short: just say NO TO DRUGS, and maybe you won't end up like
the Hurd people." - Linus Torvalds.
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



reply via email to

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