Re: Using statfs to check a remote file

2010-11-19 Thread Russ Allbery
"T. Alex Chen" writes: > How do I determine if a file is a remote mounted file from statfs() > call, i.e. which member of the 'struct statfs' contains information to > indicate the file is NOT a local file? This is not a very well-defined question, so the answer in general is "you can't know th

Using statfs to check a remote file

2010-11-19 Thread T. Alex Chen
How do I determine if a file is a remote mounted file from statfs() call, i.e. which member of the 'struct statfs' contains information to indicate the file is NOT a local file? Any help is appreciated.  Alex