ls / does not show /c with cygdrive prefix=/

Mikel Ward mward@aconex.com
Tue Sep 29 07:37:00 GMT 2009


Corinna Vinschen wrote:
> 
> I don't know what you would like to read.  It's part of the way the
> Cygwin DLL handles that stuff.  To enumerate the available
> directories,
> the directory opened with opendir() must have been recognized as the
> cygdrive directory.  If that happens, *only* drives are enumerated
> since the cygdrive directory is a virtual directory anyway.
> This method can't work on / since then you would have a broken
> filesystem tree.  That's why we frown on / as cygdrive directory (at
> least I do, but apparently nobody cares).

OK.  So cygdrive prefix is like a mount point.

No problem. :-)

Thanks

Mike




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list