This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find and /cygdrive/c

Hash: SHA1

According to Richard Quadling on 4/5/2006 3:52 AM:
> On 05/04/06, Jim Easton wrote:
>> example:
>> $ find /cygdrive/c -iname \*Telus\* -print
>> find: .: No such file or directory
>> find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory
> $ find /cygdrive/c -iname \*pear\* -print
> /cygdrive/c/PEAR
> suggests that it is a version issue.

You are not the first to report something like this, but I have not been
able to reproduce it myself, with either 4.2.27 or 4.3.0 (note that find
uses a different search algorithm in 4.3.0, but the old 4.2.7 algorithm is
still available in the program oldfind in 4.3.0, so really you only need
4.3.0 to test both behaviors).  I suspect a remote drive bug, rather than
versioning issues, but I'll need more details.

First, you should follow the reporting guidelines here:
> Problem reports:
and include the output of 'cygcheck -svr' as a text attachment.

Then, what directory were you in when you ran find?  Is it a remote drive?
 Is it running Samba?  If so, what version of Samba?  There are known
issues with cygwin 1.5.19 when communicating with certain remote drives,
where the inode numbers of various files are not constant, and the result
is that find refuses to proceed since it interprets a changing inode as a
security attack (someone replacing the directory in parallel with you
trying to search it).  Some of these issues have been fixed in CVS; could
you please try the latest snapshot and see if the issue still persists?

- --
Life is short - so eat dessert first!

Eric Blake   
volunteer cygwin findutils maintainer
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]