X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: Revised: ls: reading directory .: No such file or directory Date: Tue, 01 Aug 2006 12:24:36 -0400 Lines: 14 Message-ID: References: <17370db50608010815ma1a27bfoac531286ad10d342 AT mail DOT gmail DOT com> <20060801155413 DOT GA26030 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/