From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4279 invoked by alias); 11 Jun 2006 16:57:27 -0000 Received: (qmail 4271 invoked by uid 22791); 11 Jun 2006 16:57:26 -0000 X-Spam-Check-By: sourceware.org Received: from mail.prospeed.net (HELO mail.prospeed.net) (12.46.111.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 11 Jun 2006 16:56:55 +0000 Received: from [192.168.0.230] (lhall.prospeed.net [64.25.83.123]) (authenticated bits=0) by mail.prospeed.net (8.13.6/8.13.6) with ESMTP id k5BGup6M013345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 11 Jun 2006 12:56:53 -0400 Message-ID: <448C4B51.5020204@cygwin.com> Date: Sun, 11 Jun 2006 18:04:00 -0000 From: "Larry Hall (Cygwin)" Reply-To: cygwin@cygwin.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@cygwin.com Subject: Re: mount never fails ... sorta References: <200606111234.k5BCYrpq015157@sd.skydive1.com> In-Reply-To: <200606111234.k5BCYrpq015157@sd.skydive1.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-06/txt/msg00212.txt.bz2 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/