This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Revised: ls: reading directory .: No such file or directory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]