[Top][All Lists]

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

Re: find doesn't find some files ?

From: James Youngman
Subject: Re: find doesn't find some files ?
Date: Thu, 1 Dec 2005 00:16:35 +0000
User-agent: Mutt/1.5.9i

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"?


reply via email to

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