How to get filename of an open file descriptor

Yuri yuri at rawbw.com
Tue Nov 13 10:56:35 PST 2007


Robert,

Thank you for letting me know about this new feature procstat.

But is there any workaround in 6.3? I need to port one package that needs to
lookup file names by FDs to the current FreeBSD and need some solution now.

Yuri


Quoting Robert Watson <rwatson at FreeBSD.org>:

> 
> On Mon, 12 Nov 2007, Yuri wrote:
> 
> > Thank you for your response.
> >
> > I attempted to compile procstat but procstat.h seems to be missing in
> tgz.
> 
> Yuri,
> 
> Indeed -- looks like I forgot to p4 add on my development box.  I've updated
> 
> the tarball to now include procstat.h.  If there are any other problems, do
> 
> let me know.
> 
> Robert N M Watson
> Computer Laboratory
> University of Cambridge


More information about the freebsd-hackers mailing list