This is the mail archive of the cygwin 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: Problem: find not traversing /cygdrive/X properly?


> ----------------------  Forwarded Message:  ---------------------
> From:    Kevin Autrey <Kevin.Autrey AT pobox DOT com>
> To:      ericblake AT comcast DOT net (Eric Blake)
> Subject: Re: Problem: find not traversing /cygdrive/X properly?
> Date:    Mon, 17 Oct 2005 14:44:23 +0000
> 
> Hi Eric -
> 
> At 09:29 10/17/2005  (Monday), you wrote:
> > > Hi -
> > >
> > > After installing the latest updates on 2005-Oct-15 (those updates being
> > > whois, openssl, ncurses and cygwin-doc) - my "find" seems to be
> > > broken.  I've searched the mailing lists for relevant posts but didn't see
> > > any relevant posts (but hey, searching for "find" turns up a lot of
> > > non-related hits!).
> >
> >Nothing in that list looks like it would have made a difference.  Are you
> >sure you didn't also pick up something else new?
> 
> Yeah, that's what I was thinking too - that nothing that was updated should 
> have made a difference.
> 
> Here are all of the files that got downloaded during the update on Saturday:
> 
> 
> 
>tka-16:/cygdrive/e/cygwin/http%3a%2f%2fplanetmirror.com%2fpub%2fsourceware%2fcy
> gwin> 
> >find . -mtime 1 -ls
> >281474976710968    0 drwxrwxrwt 120 ???????? ????????        0 Oct 15 
> >10:34 ./release
> >281474976710993    0 drwxrwxrwt   2 ???????? ????????        0 Oct 15 
> >10:33 ./release/cygwin-doc
> >844424930139267  454 -rwxrwxrwx   1 Administrator  Users      929258 Oct 
> >15 10:33 ./release/cygwin-doc/cygwin-doc-1.4-3.tar.bz2
> >281474976711045    0 drwxrwxrwt   6 ???????? ????????        0 Oct 15 
> >10:34 ./release/ncurses
> >281474976711382    0 drwxrwxrwt   2 ???????? ????????        0 Oct 15 
> >10:34 ./release/ncurses/libncurses8
> >844424930139268   84 -rwxrwxrwx   1 Administrator  Users      169516 Oct 
> >15 10:34 ./release/ncurses/libncurses8/libncurses8-5.4-4.tar.bz2
> >1125899906849942  172 -rwxrwxrwx   1 Administrator  Users      349256 Oct 
> >15 10:34 ./release/ncurses/ncurses-5.4-4.tar.bz2
> >281474976711049    0 drwxrwxrwt   4 ???????? ????????        0 Oct 15 
> >10:34 ./release/openssl
> >1125899906849943  480 -rwxrwxrwx   1 Administrator  Users      980283 Oct 
> >15 10:34 ./release/openssl/openssl-0.9.8a-1.tar.bz2
> >281474976711404    0 drwxrwxrwt   2 ???????? Users           0 Oct 15 
> >10:34 ./release/openssl/openssl097
> >1125899906849944  276 -rwxrwxrwx   1 Administrator  Users      564535 Oct 
> >15 10:34 ./release/openssl/openssl097/openssl097-0.9.7h-1.tar.bz2
> >562949953428536    0 drwxrwxrwt   2 Administrator  Users           0 Oct 
> >15 10:34 ./release/whois
> >1125899906849945   20 -rwxrwxrwx   1 Administrator  Users       37227 Oct 
> >15 10:34 ./release/whois/whois-4.7.8-1.tar.bz2
> >844424930139269    0 drwxrwxrwt   3 Administrator  Users           0 Oct 
> >15 10:34 ./release/_obsolete
> >844424930139270    0 drwxrwxrwt   2 Administrator  Users           0 Oct 
> >15 10:34 ./release/_obsolete/libpcre
> >1125899906849941    1 -rwxrwxrwx   1 Administrator  Users          46 Oct 
> >15 10:34 ./release/_obsolete/libpcre/libpcre-4.1-2.tar.bz2
> >1125899906849946    1 -rwxrwxrwx   1 Administrator  Users         373 Oct 
> >15 10:34 ./release/_update-info-dir/_update-info-dir-00322-1.tar.bz2
> 
> 
> 
> > >
> > > The find command was working fine before I installed the latest/greatest
> > > updates, but now I get this output from the command:
> > >
> > > >tka-16:/cygdrive/p> find /cygdrive/c -iname win.ini -type f
> >
> >Works fine for me.
> >
> > >
> > > My mounts look okay:
> >
> >Actually, they don't.
> >
> > >
> > > >tka-16:/cygdrive/p> mount
> > > >D:\cygWIN\bin on /usr/bin type system (textmode)
> > > >D:\cygWIN\lib on /usr/lib type system (textmode)
> >
> >Yuck - you really want your bin and lib to be binmode.
> 
> Okay, I changed the mounts to binmode (not sure how they got to be 
> textmode...) - no improvement:
> 
> >tka-16:/cygdrive/c> mount
> >d:\cygwin\bin on /usr/bin type system (binmode)
> >d:\cygwin\lib on /usr/lib type system (binmode)
> >d:\cygwin on / type system (binmode)
> >c: on /cygdrive/c type system (textmode,noumount)
> >d: on /cygdrive/d type system (textmode,noumount)
> >e: on /cygdrive/e type system (textmode,noumount)
> >i: on /cygdrive/i type system (textmode,noumount)
> >m: on /cygdrive/m type system (textmode,noumount)
> >p: on /cygdrive/p type system (textmode,noumount)
> >s: on /cygdrive/s type system (textmode,noumount)
> >v: on /cygdrive/v type system (textmode,noumount)
> >w: on /cygdrive/w type system (textmode,noumount)
> 

mount -m may be a little more informative here, if something
happened to mount --change-cygdrive-prefix.

> and then:
> 
> >tka-16:/cygdrive/c> find /cygdrive/c win.ini
> >/cygdrive/c
> >find: .: No such file or directory
> >find: /cygdrive/c/.backupSettings: No such file or directory
> >find: /cygdrive/c/AUTOEXEC.BAT: No such file or directory
> >find: /cygdrive/c/boot.ini: No such file or directory
> >find: /cygdrive/c/CONFIG.SYS: No such file or directory
> >find: /cygdrive/c/Documents and Settings: No such file or directory
> >find: /cygdrive/c/IO.SYS: No such file or directory
> >find: /cygdrive/c/Log.txt: No such file or directory
> >find: /cygdrive/c/MSDOS.SYS: No such file or directory
> >find: /cygdrive/c/NTDETECT.COM: No such file or directory
> >find: /cygdrive/c/ntldr: No such file or directory
> >find: /cygdrive/c/PRIOR_SYSTEM: No such file or directory
> >find: /cygdrive/c/Program Files: No such file or directory
> >find: /cygdrive/c/RECYCLER: No such file or directory
> >find: /cygdrive/c/System Volume Information: No such file or directory
> >find: /cygdrive/c/Temp: No such file or directory
> >find: /cygdrive/c/tomsteady.ini: No such file or directory
> >find: /cygdrive/c/WINDOWS: No such file or directory
> >find: /cygdrive/c/xPos.txt: No such file or directory
> >find: win.ini: No such file or directory
> 
> 
> 
> > >
> > > If you run the same command on "C:/", it works fine:
> > >
> > > >tka-16:/cygdrive/p> find c:/ -iname win.ini
> > > >find: c:/System Volume Information: Permission denied
> > > >c:/WINDOWS/win.ini
> > >
> > > The cygcheck information follows the sigtrace information.
> >
> >This much information may have been better sent as an
> >attachment - 104k of inline text is a bit much.
> 
> Oh.  Sorry - I read the cygwin.com Problems page wrong.  When it said 
> "should be sent as an attachment" - brain cells tripped and interpreted it 
> as "should not be sent as an attachment".  Sorry 'bout that...

Maybe we should touch up that text to read "should *ALWAYS* be
sent as an attachment".

> 
> Kevin
> 

You may also want to try a snapshot - 1.5.19 is due soon,
and may have done something towards fixing whatever
is causing your issues.  But other than that, I am stumped.

--
Eric Blake




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