delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/24/05:10:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <435CA30E.4080703@equate.dyndns.org>
Date: Mon, 24 Oct 2005 10:02:06 +0100
From: Chris Taylor <chris AT equate DOT dyndns DOT org>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Debian Thunderbird 1.0.7 (X11/20051010)
MIME-Version: 1.0
To: Kevin Autrey <Kevin DOT Autrey AT pobox DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem: find not traversing /cygdrive/X properly?
References: <101720051458 DOT 12470 DOT 4353BC2B00022151000030B622007507440A050E040D0C079D0A AT comcast DOT net> <6 DOT 2 DOT 0 DOT 13 DOT 2 DOT 20051017100514 DOT 04d9fe28 AT pobox DOT com> <6 DOT 2 DOT 0 DOT 13 DOT 2 DOT 20051023140659 DOT 04da8f70 AT pobox DOT com>
In-Reply-To: <6.2.0.13.2.20051023140659.04da8f70@pobox.com>
X-IsSubscribed: yes

Kevin Autrey wrote:
> I tried the lastest snapshot cygwin.dll - no changes - find still failed.
> 
> So, I bit the bullet and re-installed my Cygwin installation.  Same 
> problem:  I can't do a 'find' from a top-level /cygdrive/X directory 
> (and it seems to affect ONLY 'find' when searching from the top-level 
> /cygdrive/X mount point).
> 
> When I do a 'find' command (in bash or tcsh):
> 
>> tka-16:/cygdrive/p> find /cygdrive/c -iname cdplayer.ini
>> 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
> 
> 
> 
> If I search a specific directory from the /cygdrive/X directory, it works:
> 
>> tka-16:/cygdrive/p> find /cygdrive/c/windows -iname cdplayer.ini
>> /cygdrive/c/windows/CDPLAYER.INI
> 
> 
> 
> 
> If I do 'find' on the "C:/" directory it works:
> 
>> tka-16:/cygdrive/p> find C:/ -iname cdplayer.ini
>> C:/WINDOWS/CDPLAYER.INI
> 
> 
> 
> What's interesting is that if I do a 'find' on "/cygdrive/c/.", it also 
> works!
> 
>> tka-16:/cygdrive/p> find /cygdrive/c/. -iname cdplayer.ini
>> /cygdrive/c/./WINDOWS/CDPLAYER.INI
> 
> 
> 
> 
> Does this clarify the problem or give more clues as to what might be 
> going on? Is anyone else having this problem?
> 
> Kevin
> 

Well, I've just tested this myself, and the only error I get is the 
normal permission denied on system volume information.
I should mention that I updated my cygwin installation on Thursday or 
Friday last week..

There are two things I'm wondering though...
Where is this . in your PATH coming from? (it's in your cygcheck output)
Also, have you tried making the /cygdrive/X mounts binmode?
Mine show up in mount like:
c: on /cygdrive/c type system (binmode,noumount)

Might be worth testing it that way?

Chris

-- 

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019