[OpenAFS] Linux client and find command in AFS
Derrick J Brashear
shadow@dementia.org
Tue, 5 Apr 2005 15:09:39 -0400 (EDT)
On Tue, 5 Apr 2005, Rodney M Dyer wrote:
> At 01:49 PM 4/5/2005, Derrick J Brashear wrote:
>> use the -noleaf option to find. it's not an afs bug, so you found no bug.
>
> Actually, why isn't this a bug? He doesn't need the -noleaf option if there
> is at least one other "real" directory in the root of the directory he is
> testing.
gnu find is not the same as solaris find. the -noleaf option is the
equivalent of the default options with solaris (well, unix) find. so since
gnu find goes out of its way to work this way, when other finds do not, i
see no reason why the filesystem should go out of its way to accomodate
it. the reason it works on solaris is not related to afs, if you ran gnu
find on solaris, it would work the same way.