Coda File System

Re: -noleaf

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 28 Jul 2005 11:57:19 -0400
On Mon, Jul 25, 2005 at 01:21:47PM -0600, Patrick Walsh wrote:
> 	I thought the find command no longer needed the -noleaf parameter?  Yet
> today I did the following:
> 
> # find . -noleaf -name 'File*'
> ./xyz/FileCertificate.php
> ./xyz/FileSerial.php
> # find . -name 'File*'

I don't know, does 'stat .' tell you that the linkcount is 1 or not? If
it is set to one, that is about as much as we can to to prevent the GNU
find optimization that I know of which is disabled by -noleaf.

According to the CVS history the patch to force the directory linkcount
to 1 was included in 6.0.9.

Jan
Received on 2005-07-28 12:02:15