views:

12

answers:

0

I need to determine if a file resides in NFS in my C program. I know there are several ways to do that differently on Linux, Solaris etc but I need to write a program which works on all Unix platforms like Solaris, AIX, HPUX along with Linux and Windows (if possible). I don't think i will be able to find something compatible with Windows and other OSes.

Can somebody help me in this regard? Also if you know any way to do it for all Operating System separately, please also share it.

Thanks a lot