delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/24/17:24:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <shankar AT cotagesoft DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019