help in finding which machine a file is actually stored on

Gil Pilz@Eng@Banyan gil at banyan.UUCP
Fri May 26 04:35:58 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.

Stop. Go back and try to figure out why you think you need to do this.
Chances are you're looking at the problem from an awkward angle.  The
whole point of distributed file systems is to free you from worrying
about _where_ the files "actually" are. Whenever you find yourself
running counter to the basic design goals of the tools you are using
it's time to look at why you are using _those_ tools.

Just a bit of unasked for advice.

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
        Gilbert W. Pilz Jr.       gil at banyan.com
        Banyan Systems Inc.       (617) 898-1196
        115 Flanders Road
        Westboro, MA 01581
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-



More information about the Comp.unix.wizards mailing list