Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: df --local
Date: Thu, 19 Sep 2002 15:36:31 -0700
Lines: 14
Message-ID: <3D8A516F.6060409@cotagesoft.com>
References: <LMEBLOLOHAGKJEEBFGPKCEFECHAA.rob@mp3.com> <Pine.GSO.4.44.0209191429120.15469-100000@slinky.cs.nyu.edu>
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 1032474999 27376 64.165.207.58 (19 Sep 2002 22:36:39 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Thu, 19 Sep 2002 22:36:39 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en

Igor Pechtchanski wrote:
> -# ifdef __CYGWIN__
> -# define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') == 0)
> -# else
>  # define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') != 0)
> -# endif

You're sure it's not possible to end up with a local path without a ":" 
(e.g. just \windows\system32, etc.) in the mount table? I'm not sure 
what this would mean, but as long as it's not possible to get such an 
entry in using the usual API, this check should be OK.
--
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/

