Revised: ls: reading directory .: No such file or directory
Andrew Schulman
schulman.andrew@epamail.epa.gov
Tue Aug 1 16:25:00 GMT 2006
> 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/
More information about the Cygwin
mailing list