X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-ASG-Debug-ID: 1254209817-0a70039d0000-w5GHUG
X-Barracuda-URL: http://postoffice2.aconex.com:8000/cgi-bin/mark.cgi
X-Barracuda-Envelope-From: mward@aconex.com
X-ASG-Orig-Subj: Re: ls / does not show /c with cygdrive prefix=/
Subject: Re: ls / does not show /c with cygdrive prefix=/
From: Mikel Ward <mward@aconex.com>
To: cygwin@cygwin.com
In-Reply-To: <20090929073111.GD15296@calimero.vinschen.de>
References: <1254099878.2604.21.camel@mward-laptop> 	 <20090928113241.GO30851@calimero.vinschen.de> 	 <1254179987.2690.1.camel@mward-laptop> 	 <20090929070508.GB15296@calimero.vinschen.de> 	 <1254208139.2743.19.camel@mward-laptop.ops.acx> 	 <20090929073111.GD15296@calimero.vinschen.de>
Content-Type: text/plain
Date: Tue, 29 Sep 2009 17:36:52 +1000
Message-Id: <1254209812.2743.21.camel@mward-laptop.ops.acx>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Barracuda-Connect: postoffice.yarra.acx[192.168.102.1]
X-Barracuda-Start-Time: 1254209817
X-Barracuda-Virus-Scanned: by Aconex Staff Email Spam Firewall at aconex.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

