Path: utzoo!news-server.csri.toronto.edu!rutgers!att!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.unix.shell Subject: Re: NFS File identity resolution? Message-ID: <1991Mar14.150249.21054@mp.cs.niu.edu> Date: 14 Mar 91 15:02:49 GMT References: <21078@shlump.nac.dec.com> Organization: Northern Illinois University Lines: 20 In article <21078@shlump.nac.dec.com> prakash@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 Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940