Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.unix.wizards Subject: Re: Finding where an executable was run from -- a proposal. Message-ID: Date: 20 May 88 18:22:58 GMT References: <67@uvaarpa.virginia.edu> <6800012@cpe> <4527@hoptoad.uucp> <4687@watdcsu.waterloo.edu> <53285@sun.uucp> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 8 Actually if you are running a demand paged or shared text program that information is already stored in the kernel. You just need another system call or something to read it out. Unforunately, you have the PWD problem. There is no easy way to invert the UNIX search lookups. Normal UNIX filesystems are Directed Acyclic Graphs (not trees), which means that there may me multiple paths to any particular node. -Ron