X-Recipient: archive-cygwin AT delorie DOT 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 AT aconex DOT 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 To: cygwin AT cygwin DOT com In-Reply-To: <20090929073111.GD15296@calimero.vinschen.de> References: <1254099878 DOT 2604 DOT 21 DOT camel AT mward-laptop> <20090928113241 DOT GO30851 AT calimero DOT vinschen DOT de> <1254179987 DOT 2690 DOT 1 DOT camel AT mward-laptop> <20090929070508 DOT GB15296 AT calimero DOT vinschen DOT de> <1254208139 DOT 2743 DOT 19 DOT camel AT mward-laptop DOT ops DOT acx> <20090929073111 DOT GD15296 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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