Is it possible to determine the open file path based on the file descriptor?

Damjan Jovanovic damjan.jov at gmail.com
Wed Jul 8 16:35:13 UTC 2020


On Wed, Jul 8, 2020 at 6:22 PM Yuri <yuri at rawbw.com> wrote:

> Hi Hackers,
>
>
> One of the ports (sysutils/watchman) attempts to find the path of the
> file based on the file descriptor assuming that this descriptor
> represents an open file.
>
>
> Is this possible?
>
>
procstat fd [pid]


Damjan


More information about the freebsd-hackers mailing list