Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Wed, 31 May 2000 16:08:36 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Bug in 'du' and 'find'? Message-ID: <20000531160836.A24396@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <03904D7A6D26D411A84600062938BEAE0F0074 AT SERV0109> <20000531095909 DOT F20020 AT cygnus DOT com> <393558FA DOT 24C86AF5 AT dothill DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <393558FA.24C86AF5@dothill.com>; from Jason.Tishler@dothill.com on Wed, May 31, 2000 at 02:24:58PM -0400 Ok. That is a known problem that AFAICT has nothing to do with empty directories. This particular problem has been reported many times in the past. It's difficult to fix or it would have been fixed by now. cgf On Wed, May 31, 2000 at 02:24:58PM -0400, Jason Tishler 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 > >See attached for cygcheck output. > >Hope the above helps. > >Jason > >-- >Jason Tishler >Director, Software Engineering Phone: +1 (732) 264-8770 x235 >Dot Hill Systems Corporation Fax: +1 (732) 264-8798 >82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com >Hazlet, NJ 07730 USA WWW: http://www.dothill.com > >Cygnus Win95/NT Configuration Diagnostics >Current System Time: Wed May 31 14:12:07 2000 > >WinNT Ver 4.0 build 1381 Service Pack 5 > >Path: /home/jt/bin > /usr/local/bin > /usr/bin > /apps/cvs-1.10 > /apps/vim/vim56 > /mnt/c/WINNT/system32 > /mnt/c/WINNT > /apps/ntreskit > /apps/perl5.00402/bin > /mnt/d/Program Files/Python > /mnt/d/Program Files/Tcl/bin > /apps/InstallShield/InstallShield 5.5 Professional Edition/Program > /apps/InstallShield/PackageForTheWeb 2 > Cygwin/1.1.1/apps/InstallShield/PackageForTheWeb 2 > >SysDir: C:\WINNT\System32 >WinDir: C:\WINNT > >CYGWIN = `binmode tty' >GCC_EXEC_PREFIX = `/usr/lib/gcc-lib/' >HOME = `/home/jt' >MAKE_MODE = `UNIX' >PWD = `/home/jt' > >CDPATH = `.:/home/jt:/home/jt/src:/home/jt/lib' >CEPATH = `/home/jt/.environments:/apps/environments' >COLORFGBG = `0;default;15' >COLORTERM = `rxvt-xpm' >COMPUTERNAME = `KOSH' >COMSPEC = `C:\WINNT\system32\cmd.exe' >CVSEDITOR = `gvim' >CYGWINDIR = `K:\Cygwin\1.1.1' >DISPLAY = `:0' >EXINIT = `se ai ts=4 sw=4' >FIT_HISTFILE = `H:\.fit_history' >FIT_HISTSIZE = `10240' >HISTCONTROL = `ignoredups' >HISTSIZE = `10240' >HOMEDRIVE = `H:' >HOMEPATH = `\' >HOMESHARE = `\\cancerman\home.jt' >HOSTNAME = `kosh' >HOSTTYPE = `i586' >INPUTRC = `H:\.inputrc' >LOGNAME = `jt' >LOGONSERVER = `\\CANCERMAN' >MACHTYPE = `i586-pc-cygwin32' >MSINPUT = `C:\Program Files\Microsoft Hardware' >NUMBER_OF_PROCESSORS = `1' >OLDPWD = `/mnt/k/cygwin/1.1.1' >OLDVIM = `K:\vim' >OS2LIBPATH = `C:\WINNT\system32\os2\dll;' >OS = `Windows_NT' >OSTYPE = `cygwin32' >PROCESSOR_ARCHITECTURE = `x86' >PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel' >PROCESSOR_LEVEL = `6' >PROCESSOR_REVISION = `0703' >PS1 = `kosh[\w]\n$ ' >PYTHONSTARTUP = `H:\.pythonrc.py' >SHELL = `/bin/bash' >SHLVL = `1' >SYSTEMDRIVE = `C:' >SYSTEMROOT = `C:\WINNT' >TEMP = `C:\TEMP' >TERM = `rxvt' >TMP = `C:\tmp' >USERDOMAIN = `BHMCO' >USERNAME = `jt' >USERPROFILE = `C:\WINNT\Profiles\jt' >VIM = `/usr/local/share/vim' >VISUAL = `vi' >WINDIR = `C:\WINNT' >WINDOWID = `168034496' >_ = `/usr/bin/cygcheck' >command_oriented_history = `1' >TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2' > >HKEY_CURRENT_USER\Software\Cygnus Solutions >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 > (default) = `/mnt' > cygdrive flags = 0x0000002a >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/jt > (default) = `H:' > flags = 0x00000002 >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 > (default) = `k:\usr' > unix = `/usr' > fbinary = 0x00000001 > fsilent = 0x00000000 > fmixed = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 > (default) = `s:' > unix = `/s' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 > (default) = `j:' > unix = `/j' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 > (default) = `h:' > unix = `/home' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 > (default) = `a:' > unix = `/floppy' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 > (default) = `k:\gnu-win32\x86\cygwin-b20\etc' > unix = `/etc' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 > (default) = `d:' > unix = `/d' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 > (default) = `e:' > unix = `/cdrom' > fmixed = 0x00000000 > fbinary = 0x00000001 > fsilent = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 > (default) = `k:\gnu-win32\x86\cygwin-b20\H-i586-cygwin32\bin' > unix = `/bin' > fbinary = 0x00000001 > fsilent = 0x00000000 > fmixed = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 > (default) = `k:' > unix = `/apps' > fbinary = 0x00000001 > fsilent = 0x00000000 > fmixed = 0x00000000 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A > (default) = `c:' > unix = `/' > fbinary = 0x00000001 > fsilent = 0x00000000 > fmixed = 0x00000000 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ > (default) = `K:/Cygwin/1.1.1' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/cdrom > (default) = `E:' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/floppy > (default) = `A:' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/opt/MSFTddk > (default) = `K:/DDK' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/opt/MSFTvs > (default) = `D:/Program Files/Microsoft Visual Studio' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin > (default) = `K:/Cygwin/1.1.1/bin' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/java > (default) = `K:/jdk1.2.2' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib > (default) = `K:/Cygwin/1.1.1/lib' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D > >a: fd N/A N/A >c: hd NTFS 4094Mb 16% CP CS UN PA FC System Disk >d: hd NTFS 15374Mb 13% CP CS UN PA FC Application Disk >e: cd N/A N/A >g: net NTFS 4094Mb 84% CP CS UN PA FC System Disk >h: net NTFS 8191Mb 84% CP CS UN PA FC USERS >k: net NTFS 17365Mb 24% CP CS UN PA FC APPS >z: net N/A N/A > >D:\Program Files\Microsoft Visual Studio /opt/MSFTvs system binmode >K:\Cygwin\1.1.1\bin /usr/bin system binmode >K:\Cygwin\1.1.1\lib /usr/lib system binmode >K:\Cygwin\1.1.1 / system binmode >K:\jdk1.2.2 /usr/java system binmode >K:\DDK /opt/MSFTddk system binmode >E: /cdrom system binmode >A: /floppy system binmode >H: /home/jt user binmode > >Found: K:\Cygwin\1.1.1\bin\bash.exe >Found: K:\Cygwin\1.1.1\bin\cat.exe >Found: K:\Cygwin\1.1.1\bin\cpp.exe >Found: K:\Cygwin\1.1.1\bin\find.exe >Found: K:\Cygwin\1.1.1\bin\gcc.exe >Found: K:\Cygwin\1.1.1\bin\gdb.exe >Found: K:\Cygwin\1.1.1\bin\ld.exe >Found: K:\Cygwin\1.1.1\bin\ls.exe >Found: K:\Cygwin\1.1.1\usr\local\bin\make.exe >Found: K:\Cygwin\1.1.1\bin\sh.exe > > 603k 2000/05/31 .\cygwin1-20000527.dll - os=4.0 img=1.0 sys=4.0 > 603k 2000/05/31 .\cygwin1-20000527.dll - os=4.0 img=1.0 sys=4.0 > 414k 2000/04/15 K:\Cygwin\1.1.1\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 > "cygitcl30.dll" v0.0 ts=2000/3/12 14:40 > 300k 2000/04/15 K:\Cygwin\1.1.1\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 > "cygitk30.dll" v0.0 ts=2000/3/12 14:40 > 1424k 2000/04/15 K:\Cygwin\1.1.1\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 > "cygtcl80.dll" v0.0 ts=2000/3/12 14:36 > 374k 2000/04/15 K:\Cygwin\1.1.1\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 > 181k 2000/04/15 K:\Cygwin\1.1.1\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 > "cygtclreg80.dll" v0.0 ts=2000/3/12 14:36 > 2058k 2000/04/15 K:\Cygwin\1.1.1\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 > "cygtk80.dll" v0.0 ts=2000/3/12 14:40 > 604k 2000/05/26 K:\Cygwin\1.1.1\bin\cygwin1-20000524-2.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2000/5/25 17:14 > 604k 2000/05/25 K:\Cygwin\1.1.1\bin\cygwin1-20000524.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2000/5/25 0:16 > 604k 2000/05/30 K:\Cygwin\1.1.1\bin\cygwin1-20000525.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2000/5/26 3:29 > 603k 2000/05/31 K:\Cygwin\1.1.1\bin\cygwin1-20000527.dll - os=4.0 img=1.0 sys=4.0 > 604k 2000/05/30 K:\Cygwin\1.1.1\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2000/5/26 3:29 >Use -h to see help about each section > >-- >Want to unsubscribe from this list? >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- cgf AT cygnus DOT com Cygnus Solutions, a Red Hat company http://sourceware.cygnus.com/ http://www.redhat.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com