delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/11/12:57:35

X-Spam-Check-By: sourceware.org
Message-ID: <448C4B51.5020204@cygwin.com>
Date: Sun, 11 Jun 2006 12:56:49 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mount never fails ... sorta
References: <200606111234 DOT k5BCYrpq015157 AT sd DOT skydive1 DOT com>
In-Reply-To: <200606111234.k5BCYrpq015157@sd.skydive1.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Richard Foulk wrote:
> Give mount(1) nonexistent hosts or directories and it will complain,
> but it still populates the mount table as if it succeeded.
> 
> It also always returns zero, for success or failure.


Cygwin's mount is a different bird than on Unix.  It really is just a mapping
table of POSIX names to DOS or UNC-style paths.  It is not required that the
POSIX path exist for things to work.  But since most people coming from a UNIX
background expect that it does and it certainly helps things like shell
path completion if the paths do already exist, you get a warning to let you
know about this difference.


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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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