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/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,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/

Reply via email to