delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/31/16:03:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20001031151348.02085c08@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 31 Oct 2000 15:55:28 -0500
To: ryk AT ap DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: latest cygwin does not track pwd?
Cc: cygwin AT sourceware DOT cygnus DOT com
In-Reply-To: <14847.8196.468000.114721@gargle.gargle.HOWL>
References: <4 DOT 3 DOT 1 DOT 2 DOT 20001031142829 DOT 0208c8b8 AT pop DOT ma DOT ultranet DOT com>
<4 DOT 3 DOT 1 DOT 2 DOT 20001031140921 DOT 02027560 AT pop DOT ma DOT ultranet DOT com>
<14847 DOT 5635 DOT 636000 DOT 348903 AT gargle DOT gargle DOT HOWL>
<4 DOT 3 DOT 1 DOT 2 DOT 20001031142829 DOT 0208c8b8 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0

At 02:39 PM 10/31/2000, Richard Y. Kim wrote:
> >>>>> "LH" == Larry Hall (RFK Partners, Inc) <lhall AT rfk DOT com> writes:
>
>     LH> Try cding into /mnt/d/projects/apwin/tools/ and
>     LH> doing the ls -l ./foo.  I assume that foo is
>     LH> listable if you provide the full DOS or mounted
>     LH> path, right?
>
>   # cd'ing via /mnt/d does not show ./foo
>   bash-2.04$ cd /mnt/d/projects/apwin/tools/
>   bash-2.04$ ls -l ./foo
>   ls: ./foo: No such file or directory
>   bash-2.04$ cat ./foo
>   cat: ./foo: No such file or directory
>
>   # cd'ing via d:/ *does* show ./foo
>   bash-2.04$ cd d:/projects/apwin/tools/
>   bash-2.04$ ls -l ./foo
>   ls: ./foo: No such file or directory
>   bash-2.04$ cat ./foo
>   #!/usr/local/bin/perl
>   use Cwd;
>   my $dir = cwd;
>   print "cwd = $dir\n";
>
>   # using fullpath does not show ./foo at all
>   bash-2.04$ ls -l d:/projects/apwin/tools/foo
>   ls: d:/projects/apwin/tools/foo: No such file or directory
>   bash-2.04$ ls -l /mnt/d/projects/apwin/tools/foo
>   ls: /mnt/d/projects/apwin/tools/foo: No such file or directory
>   bash-2.04$ cat d:/projects/apwin/tools/foo
>   cat: d:/projects/apwin/tools/foo: No such file or directory
>   bash-2.04$ cat /mnt/d/projects/apwin/tools/foo
>   cat: /mnt/d/projects/apwin/tools/foo: No such file or directory
>   bash-2.04$ 
>
>I recall reading about a new feature in w2k's file system
>where it tries to keep a single copy of a file if the
>content is the same.  I am going to see if I can dig up the
>reference to that.  Perhaps that "feature" is getting in the
>way of cygwin?  I'll keep you posted.

If this reference is what I think it is, then I don't think you'll find it
addresses your issue.  Actually, I just tried the latest DLL (1.1.5.x) and
similar actions worked OK for me.  I did this on W2K so I don't think there's
an issue there.  Here's the output of uname -a from this DLL:

CYGWIN_NT-5.0 ENTERPRISE-E 1.1.6(0.29/3/2) 2000-10-30 20:28 i686 unknown

Given that you note in another (private) email message that adding a "/"
to the end of the directory you cd to resolves the issue, it almost seems
to have the flavor of a CR/LF issue, though obviously that's not really it.
Can you ls any files in the directory with foo?  Can you ls that directory
itself?  Is you ls aliased to anything?

As you can tell, I'm grasping at straws!;-)

    
Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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