Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Shankar Unni Subject: Re: What's going on here with directory contents? Date: Thu, 24 Oct 2002 14:23:17 -0700 Lines: 15 Message-ID: <3DB864C5.5060405@cotagesoft.com> References: <3DB81476 DOT E6E0B32B AT yahoo DOT com> <009501c27b75$f688dd70$78d96f83 AT pomello> <3DB82B64 DOT 68A8C81C AT yahoo DOT com> NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035494597 17595 64.165.207.58 (24 Oct 2002 21:23:17 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Thu, 24 Oct 2002 21:23:17 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact) X-Accept-Language: en-us, en On 10/24/2002 10:18 AM, CBFalconer wrote: > That seems to tell me how to get the effect, but nothing about > what is going on. I would expect to see some sort of hidden file > in ...\usr\bin to cause the effect, but there is nothing there. Oh, you want to know how mount works.. Well, the "open" cygwin call (and any others that need name resolution) go through a special layer in cygwin that does mount point resolution: when the prefix of the path matches a mount point, it is replaced with the mount expansion, and the name interpretation is resumed. -- Shankar. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/