Querying Fatfsys about open files

Hi,
I was looking into a bug in a program that I wrote where I forgot to close a
descriptor (whoops). While investigating the problem, I did “sin fd” to
figure out which process was leaving the files open. I noticed that one of
them had a bunch of files open to “/dos/c/…” (of course, this being the
culprit). What I’m wondering is if there’s a way to get more info about the
specific files that are open. Is there a way to query Fatfsys to get a list
of open files? This isn’t very important, as open descriptor bugs are easy
to locate (most of the time), but it might be useful to have this
information.

TIA,
Ron

Ron Cococcia <ron.nospam@request.nospam.com> wrote:

specific files that are open. Is there a way to query Fatfsys to
get a list of open files? This isn’t very important

No. The name is only used to locate and open the fd; once open
the name is of no further use and is not stored with the fd …
I will look into some reverse-engineering from the name cache
(as Fsys does), but as you say this will be fairly low priority …