Find: missing alphabetically last dirtree

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Wed Sep 10 21:12:00 GMT 2003


 Words inline, below...

> From: Hannu E K Nevalainen (garbage mail)
> Sent: Monday, June 09, 2003 1:37 PM
> To: ML CygWIN
> Subject: FW: 'find' CD-ROM contents
>
>
>
>  Right, we have a 100K limit... 85K strace output gzipped.
>
> > -----Original Message-----
> > From: Hannu E K Nevalainen (garbage mail)
> > [mailto:garbage_collector@telia.com]
> > Sent: Monday, June 09, 2003 12:08 AM
> > To: ML CygWIN
> > Subject: 'find' CD-ROM contents
> >
> >
> >
> > I was inspecting the 'MSDN January 2003' CD-roms when this struck me.
> >
> > 'find' doesn't enter the 'Program Files' and 'Samples'
> > directories at all.
> > NOTE: 'ls -R' does
> >
> >  The CD-ROM (in P: while testing this) contains 7915 files and
> > 863 directories.
> >
> >  Can someone make this understandable, or is it a bug?
> >
> > $ ls -l P:
> > total 16450
> > dr-xr-xr-x    2 Hannu           0 Nov 21  2002 IE60/
> > -r-xr-xr-x    1 Hannu     1707856 Oct 15  2001 InstMSIA.exe*
> > -r-xr-xr-x    1 Hannu     1821008 Sep 24  2001 InstMSIW.exe*
> > dr-xr-xr-x    2 Hannu           0 Nov 21  2002 NT4SP/
> > dr-xr-xr-x    4 Hannu           0 Nov 21  2002 Program Files/
> > dr-xr-xr-x    4 Hannu           0 Nov 21  2002 Samples/
> > -r-xr-xr-x    1 Hannu       45126 Sep 28  2002 autorun.exe*
> > -r--r--r--    1 Hannu          29 Oct 17  2001 autorun.inf
> > -r--r--r--    1 Hannu    13181440 Nov 21  2002 msdn.msi
> > -r--r--r--    1 Hannu        3584 Mar  1  2002 msdnadvt.mst
> > -r--r--r--    1 Hannu       23245 Nov 16  2002 readme.htm
> > -r-xr-xr-x    1 Hannu       57409 May 10  2002 setup.exe*
> >
> > $ cat MSDN1.bat
> > dir P: /A-D /S /B >MSDN1.dir
> >
> > $ cd P: ; find -type f >~/MSDN1

 I did the following again after having copied+renamed the snapshot
cygwin1-<date>.dll into /bin - and rebooted (to be "safe").

> >
> > $ ls -l MSDN1*
> > -rw-r--r--    1 Hannu        1707 Jun  8 23:03 MSDN1
> > -rwxr-xr-x    1 Hannu          29 Jun  8 22:49 MSDN1.bat*
> > -rw-r--r--    1 Hannu      449441 Jun  8 22:49 MSDN1.dir
> >
> > $ wc -l MSDN1 MSDN1.dir
> >      94 MSDN1
> >    7915 MSDN1.dir
> >    8009 total
> >

$ cygcheck -svr >c_svr-snap.txt
$ grep -i cygwin1 c_svr-snap.txt
  945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-STD.dll - os=4.0 img=1.0
sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/1 19:15
  937k 2003/09/10 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/8 6:40
        DLL identifier: cygwin1
        Shared id: cygwin1S3
$ uname -a
CYGWIN_NT-5.0 P450 1.5.4s(0.90/3/2) 20030908 00:36:52 i686 unknown unknown
Cygwin
$ cd P: ; find -type f >~/MSDN1
$ wc -l ~/MSDN1
     94 /home/Hannu/MSDN1

 To be correct, "94" should be "7915" or some such (taking differences
between "dir" and "find" into account).

 :-7  Any ideas on how to go further with this?

> >  This MSDN set consists of two more CD's. These have approx. 400
> > files on them, each. All of these files are below a directory
> > named 'Program Files'. 'find' on these CD-ROMS work just as it should.



/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


--
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/



More information about the Cygwin mailing list