[18355] in Athena Bugs
Re: AFS bug: find returns 1 instead of recursing down a directory.
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Sep 27 11:21:11 2000
Message-Id: <200009271521.LAA05770@egyptian-gods.MIT.EDU>
To: Bill Cattey <wdc@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Wed, 27 Sep 2000 06:51:24 -0000."
<stoNXgFz000114mYlG@mit.edu>
Date: Wed, 27 Sep 2000 11:21:02 -0400
From: Greg Hudson <ghudson@MIT.EDU>
Hi. If you read the find man page's explanation of the "-noleaf"
option, you'll understand why this problem occurs. Only the gnu
version of find has the leaf optimization, so you don't run into this
problem on Solaris and IRIX unless you use gfind.
This is definitely a bug (the leaf optimization should be taken out
and shot as another case of "something that gets you the wrong answer
faster"), but I'm not sure what to do about it. /usr/athena/bin/find
doesn't really appeal to me, but it may be the only answer.