This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: Bug in 'du' and 'find'?


--- Jason Tishler <Jason.Tishler@dothill.com> wrote:
> I can reproduce it with cygwin1-20000525.dll:
> 
> 1. Change directory to the top of our Cygwin tree:
> 
>     $ cd /mnt/k/cygwin/1.1.1
> 
> 2. List directory:
> 
>     $ ls -l
>     total 3
>     drwxr-xr-x   1 jt       Domain U        0 May 22 11:12 apps
>     drwxr-xr-x   1 jt       Domain U        0 May 31 13:58 bin
>     -r-xr-xr-x   1 jt       Domain U        0 Dec 31  1969 cdrom
>     drwxr-xr-x   1 jt       Domain U        0 May 31 11:21 etc
>     -r-xr-xr-x   1 jt       Domain U        0 Dec 31  1969 floppy
>     drwxr-xr-x   1 jt       Domain U        0 May 23 10:55 home
>     -rw-r--r--   1 jt       Domain U     2148 May 17 09:48
> inetutils-1.3.2.README
>     drwxr-xr-x   1 jt       Domain U        0 May 22 11:06 lib
>     -rw-r--r--   1 jt       Domain U     1742 May 17 09:49 login.README
>     drwxr-xr-x   1 jt       Domain U        0 May 22 11:13 mnt
>     drwxr-xr-x   1 jt       Domain U        0 May 22 12:19 opt
>     drwxr-xr-x   1 jt       Domain U        0 May 31 11:37 tmp
>     drwxr-xr-x   1 jt       Domain U        0 May 26 14:59 usr
>     drwxr-xr-x   1 jt       Domain U        0 May 22 13:56 var
> 
> 3. Use find:
> 
>     $ find . -type d 
>     .
>     ./apps
>     ./bin
>     find: ./cdrom: No such file or directory
>     ./etc
>     find: ./floppy: No such file or directory
>     find: ./home: No such file or directory
>     find: ./inetutils-1.3.2.README: No such file or directory
>     ./lib
>     ./lib/gcc-lib
>     ./lib/gcc-lib/i686-pc-cygwin
>     ./lib/gcc-lib/i686-pc-cygwin/2.95.2
>     ./lib/gcc-lib/i686-pc-cygwin/2.95.2/include
>     ./lib/gcc-lib/i686-pc-cygwin/2.95.2/include/objc
>     find: ./login.README: No such file or directory
>     find: ./mnt: No such file or directory
>     find: ./opt: No such file or directory
>     find: ./tmp: No such file or directory
>     find: ./usr: No such file or directory
>     find: ./var: No such file or directory
> 

This problem has existed for some time.  You probably can find it in the
archives.  What really needs to happen is for some kind Cygwin netizen to find
the problem using gdb and strace and fix the problem which is probably in find
itself and submit patches to cygwin-apps if it is find or to this list if it's
cygwin.

Cheers,



=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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