James Youngman <[EMAIL PROTECTED]> a écrit : On Thu, Dec 01, 2005 at 12:17:28AM 
+0100, 1 2 wrote:

>  I recently met a very weird "bug" with find. I'm programming a
> small app which list recursively directory and sub-directories
> contents. I compare my results with "find dir -depth", but it
> doesn't match ! Some files are not in find results. Obviously, the
> missing files are not found by find. But locate do.
>  
>  here is find --version out:
>  GNU « find » version 4.2.25
>  Enabled options: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION 
>  
>  (sorry for my bad english)


Do the missing files have anything in common with each other?  What
type of filesystem are these on?  Is it a proc filesystem, NFS
filesystem, local filesystem?  Are the directories that they are in
readable by the user as which you are running find?  Do you get the
same results if you use the "-noleaf" option?  Does it make a
difference if you omit "-depth"?

Regards,
James.
 Uh... sorry, all the missing files are in symbolic-linked directories, and i 
didn't use the option "-follow".
 Thanks for the help, next time, i will think, i promess.
 

                
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  
_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to