Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!snorkelwacker.mit.edu!bu.edu!transfer!lectroid!denap From: denap@alta.sw.stratus.com (Tom DeNapoli) Newsgroups: comp.unix.programmer Subject: Re: getting the current working directory Message-ID: Date: 11 Jan 91 18:49:39 GMT References: <42380@ut-emx.uucp> Sender: usenet@lectroid.sw.stratus.com Distribution: usa Organization: Society for the Toleration of a Single Fault. Lines: 18 In-reply-to: pefv700@perv.pe.utexas.edu's message of 11 Jan 91 00:45:57 GMT Along the same lines... Has anyone got anything that will return the absolute pathname of an open file to a process? Process A has file ./dir1/dir2/foo open and he wants the absolute path to the file as in /usr/local/stuff/dir1/dir2. Ultimately I need to relay this info to Process B and prepend the automount (SunOS 4.1) point to the pathname. As in /net/freddie/usr/local/stuff/dir1/dir2/foo. thanks in advance. -Tom -- Tom DeNapoli | Stratus Computer, Inc. denap@alta.sw.stratus.com | 55 Fairbanks Blvd M23EN3 uunet!lectroid!alta!denap | Marlboro, MA 01752