Re: Vnodes and Pathnames

1999-11-15 Thread Dan Seguin
Thanks for your response. Both you and Alfred have answered my questions. All I really needed was VDIR, since I can get to the filename from the process-context call to open. I thought I'd ask about VREG anyway. My search of the archives was fragged and I didn't find anything (I did upon restart

Re: Vnodes and Pathnames

1999-11-15 Thread Julian Elischer
you can for VDIR as the getcwd call does so, but not for VREG becasue you don't know the directory entry that you used to get to it. (You could look in the name cache using a reverse lookup, but I don't know that you are guaranteed of success.) PHK may have more to say on this topic. On Mon, 15

Re: Vnodes and Pathnames

1999-11-15 Thread Alfred Perlstein
On Mon, 15 Nov 1999, Dan Seguin wrote: > > > Hello Gurus, > > > Is there any way of getting filepath information from a vnode? What I'm > looking for is pathname info for VDIR and VREG types, sort of a reverse > namei(). It's really not possible since a file may have mutiple parent director

Vnodes and Pathnames

1999-11-15 Thread Dan Seguin
Hello Gurus, Is there any way of getting filepath information from a vnode? What I'm looking for is pathname info for VDIR and VREG types, sort of a reverse namei(). Thanks! Dan Seguin