Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!rust.zso.dec.com!shlump.nac.dec.com!aiag.enet.dec.com!prakash From: prakash@aiag.enet.dec.com (Mayank Prakash) Newsgroups: comp.unix.shell Subject: NFS File identity resolution? Message-ID: <21078@shlump.nac.dec.com> Date: 14 Mar 91 14:34:56 GMT Sender: newsdaemon@shlump.nac.dec.com Reply-To: prakash@aiag.enet.dec.com Organization: Digital Equipment Corporation, Marlboro, MA. Lines: 27 -- 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" could be mounted on X:/server/dir, and on the node of process B, "/A/B" could be mounted on X:/server/dir. It is therefore not enough to compare the directory parts alone. One must be able to determine which server the file is coming from. [Essentially what the define command does, but I want to do it from C]. Thanks. -mayank. +--------------------------------------------------------------------------+ | InterNet: Prakash@AIAG.ENET.DEC.COM | | UUCP: ...!decwrl!aiag.enet.dec.com!Prakash | | VoiceNet: (508)490.8139 | | BitNet: prakash%aiag.enet at decwrl.dec.com | | SnailNet: DEC, 290 Donald Lynch Blvd. DLB5-2/B4, Marlboro, MA 01752-0749 | +--------------------------------------------------------------------------+ Disclaimer: The above is probably only line noise, and does not reflect the opinions of anybody, including mine, far less my employer's.