delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/21/12:12:11

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
Date: Fri, 21 Jan 2005 12:09:51 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: file name inconsistencies
In-Reply-To: <20050121120411.GO3113@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.61.0501211208430.18105@slinky.cs.nyu.edu>
References: <41F082E9 DOT 6060702 AT byu DOT net> <20050121120411 DOT GO3113 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0

On Fri, 21 Jan 2005, Corinna Vinschen wrote:

> On Jan 20 21:19, Eric Blake wrote:
> > [snip]
> > Finally, is there any reason that `df --local' cannot find any local
> > filesystems?  It is rather odd to see the coreutils testsuite skip tests
> > because there is no local filesystem that it can find, when I know for a
> > fact that my machine has a local hard-drive at c:\.
>
> Debugging helps.  See coreutils/lib/mountlist.h
>
>   #ifndef ME_REMOTE
>   /* A file system is `remote' if its Fs_name contains a `:'
>      or if (it is of type smbfs and its Fs_name starts with `//').  */
>   # define ME_REMOTE(Fs_name, Fs_type)    \
>       (strchr ((Fs_name), ':') != 0       \
>        || ((Fs_name)[0] == '/'            \
> 	   && (Fs_name)[1] == '/'         \
> 	   && STREQ (Fs_type, "smbfs")))
>   #endif

I recall there was even a patch submitted for this a while ago (for
fileutils, though).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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