delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/01/12:25:29

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: Revised: ls: reading directory .: No such file or directory
Date: Tue, 01 Aug 2006 12:24:36 -0400
Lines: 14
Message-ID: <psvuc29a2nu7ki7h6d9p6tmlqophltvudo@4ax.com>
References: <17370db50608010815ma1a27bfoac531286ad10d342 AT mail DOT gmail DOT com> <20060801155413 DOT GA26030 AT trixie DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
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

> On Tue, Aug 01, 2006 at 09:15:44AM -0600, Monte Riding wrote:
> >I have an issue when trying to run ls in the root of my C: drive
> >that's cropped up recently, not sure what's happened -
> 
> Morale of the story:  Use POSIX paths, i.e. "cd /cygdrive/c".

OK, but mightn't it be considered a bug that Cygwin is being inconsistent in
its treatment of non-POSIX paths?  The CWD is stored as C:.  bash then
presents it (and apparently sees it) as /cygdrive/c.  ls OTOH apparently
sees it as C:, which it can't properly interpret.  I'm not sure who's at
fault (Cygwin DLL, bash, or ls), but something is getting garbled in
translation.

[slips armored helmet on]


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