NFS File identity resolution?

Neil Rickert rickert at mp.cs.niu.edu
Fri Mar 15 01:02:49 AEST 1991


In article <21078 at shlump.nac.dec.com> prakash at aiag.enet.dec.com writes:
>--
>
>Given a set of NFS servers and clients on the same network, and two
>processes A and B on possibly different nodes, which can communicate
>using sockets. How can the two processes determine if a file referred to
>as "/a/b/c/file" by process A is really the file referred to as "/A/B/file"
>by the process B? In other words, on the node of the process A, "/a/c/b"

 I don't know if there is an efficient foolproof test.  Perhaps some NFS
gurus will respond.  But as a practical method, if both files have the same
inode number, date, length, and if the parent directories of both have the
same inode number, the statistical probability that they are different
files is very small.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.shell mailing list