Quick way to check if file is on nfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there an efficient way to tell if a file we just opened is on
NFS vs local disk?  We have reports of a bug where our program thinks
it has mounted nfs and starts writing to the nfs file system, but later
somehow local disk gets filled up instead.  I'd like to detect when
we are no longer writing to the mount point so I can stop the test,
gather logs, etc.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux