Xref: utzoo comp.unix.questions:14010 comp.unix.wizards:16602 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!eecae!shadooby!sharkey!bnlux0!max!abrams From: abrams@max.bnl.gov (The Ancient Programmer) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: help in finding which machine a file is actually stored on Keywords: help Message-ID: <1173@bnlux0.bnl.gov> Date: 2 Jun 89 19:26:51 GMT References: <8204@thorin.cs.unc.edu> <435@banyan.UUCP> Sender: news@bnlux0.bnl.gov Reply-To: abrams@max.UUCP (The Ancient Programmer) Followup-To: comp.unix.questions Organization: Brookhaven National Lab, Upton NY Lines: 17 >In article <8204@thorin.cs.unc.edu> sunj@unc.cs.unc.edu (John Sun) writes: >I need help some help in determining the actual machine a file is stored >on. What I am looking for is a routine that given an absolute file name >returns the machine it is stored on in a NFS environment. Wouldn't "df /absolute/path/name" return the following? Filesystem kbytes used avail capacity Mounted on node_name:filesystem .....disk statistics.... /where_mounted ^^^^^^^^^ This should tell you what machine the file is actually on. Or have I misunderstood your question? INTERNET: abrams@bnlux0.bnl.gov BITNET: abrams@bnlux0.BITNET UUCP: ...philabs!sbcs!bnlux0!abrams