help in finding which machine a file is actually stored on
The Ancient Programmer
abrams at max.bnl.gov
Sat Jun 3 05:26:51 AEST 1989
>In article <8204 at thorin.cs.unc.edu> sunj at 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 at bnlux0.bnl.gov
BITNET: abrams at bnlux0.BITNET
UUCP: ...philabs!sbcs!bnlux0!abrams
More information about the Comp.unix.wizards
mailing list