Path: utzoo!attcan!uunet!husc6!necntc!dandelion!ulowell!arosen@eagle.ulowell.edu From: arosen@eagle.ulowell.edu (MFHorn) Newsgroups: comp.unix.wizards Subject: Re: how to find childs current working directory? Message-ID: <7189@swan.ulowell.edu> Date: 22 May 88 05:53:42 GMT References: <843@esunix.UUCP> Sender: news@swan.ulowell.edu Lines: 19 From article <843@esunix.UUCP>, by bpendlet@esunix.UUCP (Bob Pendleton): > I have a need to find the current working directory of a child > process. The child is usually csh, but it can be any program. I have a want to find the current working directory of ANY process, not necessarily a child, sibling, parent, 1st cousin, etc. I can get at the kernel's idea of a process' cwd and root directory, the vnode structs from the user struct. But I haven't got the foggiest idea how to turn them into path-names. Any pointers? [pun intended] Adthanksvance. Andy Rosen | arosen@hawk.ulowell.edu | "I got this guitar and I ULowell, Box #3031 | ulowell!arosen | learned how to make it Lowell, Ma 01854 | | talk" -Thunder Road RD in '88 - The way it should be