delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/07/16:44:44

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
Message-Id: <4.3.1.2.20020507162139.026723f0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Tue, 07 May 2002 16:40:59 -0400
To: "Conrad Scott" <Conrad DOT Scott AT dsl DOT pipex DOT com>, <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Mount point not visible in ls
In-Reply-To: <003d01c1f600$e1849540$6132bc3e@BABEL>
References: <001201c1f516$37f9d4d0$6132bc3e AT BABEL>
Mime-Version: 1.0

At 03:53 PM 5/7/2002, Conrad Scott wrote:
>Thanks to all those who suggested, correctly, that my problem would have
>been caused by the mount point (/usr/bin) having been deleted. I had my Un*x
>head on, where you can't mount on a non-existent mount point.
>
>While on this subject, what is the rationale for this to work in cygwin (w/
>only a warning if performed interactively)? The result, where the mounted
>directory is only visible to certain commands, seems liable to generate
>confusion (or maybe I've been the only one?).

You can check the email archive on this if you're interested in the detailed
history.  The short-form is the implementation is just a mapping, so there's
really no requirement that the directory exists.  One could envision this as
something more complicated but that's really all it is.  However, it's 
because of the UNIX mind-set with the like-named command that the current
"mount" warns when the directory doesn't exist.  There hasn't been a reason
to add more semantics to make it more like the UNIX equivalent in this regard 
however and there are benefits to not doing so.


Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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