This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file name inconsistencies


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]