Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 31 Oct 2000 16:07:52 -0500 From: Christopher Faylor To: cygwin AT sources DOT redhat DOT com Subject: Re: latest cygwin does not track pwd? Message-ID: <20001031160752.D29479@redhat.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com 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> <14847 DOT 8196 DOT 468000 DOT 114721 AT gargle DOT gargle DOT HOWL> <4 DOT 3 DOT 1 DOT 2 DOT 20001031151348 DOT 02085c08 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <4.3.1.2.20001031151348.02085c08@pop.ma.ultranet.com>; from lhall@rfk.com on Tue, Oct 31, 2000 at 03:55:28PM -0500 On Tue, Oct 31, 2000 at 03:55:28PM -0500, Larry Hall (RFK Partners, Inc) wrote: >At 02:39 PM 10/31/2000, Richard Y. Kim wrote: >> >>>>> "LH" == Larry Hall (RFK Partners, Inc) 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!;-) What does /bin/pwd report after you've cd'ed? And, what does 'ls -l .' show? cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com