Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2020 18:33:11 +0200
From:      Damjan Jovanovic <damjan.jov@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        Freebsd hackers list <freebsd-hackers@freebsd.org>
Subject:   Re: Is it possible to determine the open file path based on the file descriptor?
Message-ID:  <CAJm2B-nTetdLcr5VC%2BcOLB3bOxdVr1BYwTRLKt74MDF65zu36g@mail.gmail.com>
In-Reply-To: <21b0280d-c290-f27f-98a9-0c2242380718@rawbw.com>
References:  <21b0280d-c290-f27f-98a9-0c2242380718@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 8, 2020 at 6:22 PM Yuri <yuri@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJm2B-nTetdLcr5VC%2BcOLB3bOxdVr1BYwTRLKt74MDF65zu36g>