This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

RE: Find: missing alphabetically last dirtree


> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Christopher Faylor

> On Fri, Sep 12, 2003 at 06:36:18PM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:
> >> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> >> Of Christopher Faylor
> >
> ><SNIP>
> >> Well, I have a theory on why this is happening and have checked
> >> in a change
> >> to deal with it.  I'm generating a snapshot now.  Please give it a try.
> >>
> >> cgf
> >
> >
> >Sorry to report this; the changes you made seems not be enough...
> >My test script attached, output inline below.

 To clarify, I have verified that the difference is null - by use of 'diff'
and a slightly modified version of my 'find_test' script.

 The script BTW is more general now, reworked even after generating stuff
for this mail; it might become useful for others having the same problem.
Run without args for a short explanation. (attached)

-- cut here --
$ diff -iup 2003-09-11_MSDN1_dirs.diff 2003-09-12_MSDN1_dirs.diff
--- 2003-09-11_MSDN1_dirs.diff  2003-09-12 20:05:22.000000000 +0200
+++ 2003-09-12_MSDN1_dirs.diff  2003-09-12 20:20:48.000000000 +0200
@@ -1,5 +1,5 @@
---- 2003-09-11_MSDN1_dirs-sw   2003-09-12 20:05:22.000000000 +0200
-+++ 2003-09-11_MSDN1_dirs.sdir 2003-09-12 20:01:34.000000000 +0200
+--- 2003-09-12_MSDN1_dirs-sw   2003-09-12 20:20:48.000000000 +0200
++++ 2003-09-12_MSDN1_dirs.sdir 2003-09-12 20:17:00.000000000 +0200
 @@ -1,4 +1,3 @@
 -p:\
  p:\IE60
-- cut here --
i.e. just names of files (which get generated by the script) differ.


> Well, I'm fresh out of ideas, then.  I'm back to being unable to fix what
> I can't duplicate.

 :?7  sorry to hear that...

I did try another thing; copy the contents of the CD to a FAT32(D:) and a
NTFS(F:) partition and then try my script on the result, using the
2003-09-12 snapshot. Dunno if this tells us anything, but I was a bit
curious.
Outcome: FAT32 AND NTFS - find works as it should.

Guess: there is something peculiar with the CDROM fs or contents!


-- FAT32 partition, CD contents copied w Explorer.exe FROM the CD --
$ ls -lna /cygdrive/d/MSDN1/
total 16450
drwxr-xr-x    6 500             0 Sep 12 21:16 ./
drwxr-xr-x    2 500             0 Jan  1  1970 ../
dr-xr-xr-x    2 500             0 Sep 12 21:30 IE60/
-r-xr-xr-x    1 500       1707856 Oct 15  2001 InstMSIA.exe*
-r-xr-xr-x    1 500       1821008 Sep 24  2001 InstMSIW.exe*
dr-xr-xr-x    2 500             0 Sep 12 21:16 NT4SP/
dr-xr-xr-x    4 500             0 Sep 12 21:17 Program Files/
dr-xr-xr-x    4 500             0 Sep 12 21:22 Samples/
-r-xr-xr-x    1 500         45126 Sep 28  2002 autorun.exe*
-r--r--r--    1 500            29 Oct 17  2001 autorun.inf
-r--r--r--    1 500      13181440 Nov 21  2002 msdn.msi
-r--r--r--    1 500          3584 Mar  1  2002 msdnadvt.mst
-r--r--r--    1 500         23245 Nov 16  2002 readme.htm
-r-xr-xr-x    1 500         57409 May 10  2002 setup.exe*

-- NTFS partition, CD contents copied w Explorer.exe FROM D: --
-- I doubt there would be any difference if I copied P: directly to F: --

$ ls -lna /cygdrive/f/MSDN1/
total 16450
drwxrwxrwx+   6 544          4096 Sep 12 21:36 ./
drwxrwxrwx+   2 544          8192 Sep 12 21:32 ../
dr-xr-xr-x+   2 544             0 Sep 12 21:33 IE60/
-r-xr-xr-x    1 544       1707856 Oct 15  2001 InstMSIA.exe*
-r-xr-xr-x    1 544       1821008 Sep 24  2001 InstMSIW.exe*
dr-xr-xr-x+   2 544             0 Sep 12 21:36 NT4SP/
dr-xr-xr-x+   4 544             0 Sep 12 21:36 Program Files/
dr-xr-xr-x+   4 544             0 Sep 12 21:34 Samples/
-r-xr-xr-x    1 544         45126 Sep 28  2002 autorun.exe*
-r-xr-xr-x    1 544            29 Oct 17  2001 autorun.inf*
-r-xr-xr-x    1 544      13181440 Nov 21  2002 msdn.msi*
-r-xr-xr-x    1 544          3584 Mar  1  2002 msdnadvt.mst*
-r-xr-xr-x    1 544         23245 Nov 16  2002 readme.htm*
-r-xr-xr-x    1 544         57409 May 10  2002 setup.exe*


> It would be interesting to see a 'ls -al' again, though, using the
> snapshot DLL.

To be sure it is what you want: first some output to verify the version of
cygwin1.dll

$ cygcheck -svr | grep -i cygwin1
  945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-2003-09-01.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/1 19:15
  948k 2003/09/11 C:\Program\cygwin\bin\cygwin1-2003-09-11.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/11 5:01
  948k 2003/09/12 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/12 8:49
        DLL identifier: cygwin1
        Shared id: cygwin1S3

$ command ls -aln /cygdrive/p/
total 16450
dr-xr-xr-x    2 500      513             0 Nov 21  2002 .
dr-xr-xr-x   16 0        0               0 Jan  1  1970 ..
dr-xr-xr-x    2 500      513             0 Nov 21  2002 IE60
-r-xr-xr-x    1 500      513       1707856 Oct 15  2001 InstMSIA.exe
-r-xr-xr-x    1 500      513       1821008 Sep 24  2001 InstMSIW.exe
dr-xr-xr-x    2 500      513             0 Nov 21  2002 NT4SP
dr-xr-xr-x    4 500      513             0 Nov 21  2002 Program Files
dr-xr-xr-x    4 500      513             0 Nov 21  2002 Samples
-r-xr-xr-x    1 500      513         45126 Sep 28  2002 autorun.exe
-r--r--r--    1 500      513            29 Oct 17  2001 autorun.inf
-r--r--r--    1 500      513      13181440 Nov 21  2002 msdn.msi
-r--r--r--    1 500      513          3584 Mar  1  2002 msdnadvt.mst
-r--r--r--    1 500      513         23245 Nov 16  2002 readme.htm
-r-xr-xr-x    1 500      513         57409 May 10  2002 setup.exe


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

Yet another sad "9/11" story
 -> http://cnn.com/2003/WORLD/europe/09/11/sweden.stabbing/index.html

--END OF MESSAGE--

Attachment: find_check
Description: Binary data

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

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