Mail Archives: cygwin/2006/08/12/09:27:48
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to dance AT rhythmicharmony DOT com on 8/11/2006 5:52 PM:
> I've been having problems with "find", and it's hard to search the entire
> mailing list for "find" since it's such a common word. I don't know what
> cygwin package "find" comes in, so I can't search for that.
cygcheck -p find.exe shows it is part of findutils.
>
> You'll notice that it showed a directory named 90s/no and a directory
> named 70s with no files in them.
Try upgrading to findutils 4.3.0. I suspect the leaf optimization is
getting told a bad link count for the remote directories, and is then
assuming it does not need to stat files to traverse into subdirectories.
By upgrading, you will be using a newer algorithm in find that is less
confused by these situations.
> If I try the same command from my Fedora 5 box, it complains that
> //192.168.200.9/public isn't a valid directory.
That's because // notation is only special on cygwin. POSIX allows it to
be special, but most other Unix vendors treat it as synonymous with /.
>
> If I mount the network on my windows XP machine, and use the cygwin find
> on the mounted drive, it has the same problem.
Mounting on cygwin doesn't change the fact that the drive is remote, and
that cygwin doesn't always know how to calculate link count for remote
drives. By the way, what type of filesystem is this? Also, what version
of cygwin are you using, as cygwin 1.5.21 contains code to make link count
more reliable. If you had followed directions,
> Problem reports: http://cygwin.com/problems.html
and sent the text output of `cygcheck -svr' as an attachment, we could
have helped you better.
- --
Life is short - so eat dessert first!
Eric Blake ebb9 AT byu DOT net
volunteer cygwin findutils maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE3ddF84KuGfSFAYARAqVzAKDOeCh+NWIoMjStkAQZbANjqRKvTACg2AI8
VXWEIOgCubr9upLxn0tdok4=
=XJ5P
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -