[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find doesn't find some files ?

From: 1 2
Subject: Re: find doesn't find some files ?
Date: Thu, 1 Dec 2005 19:21:48 +0100 (CET)

James Youngman <address@hidden> 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"?

 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 !  

reply via email to

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