Yuri <[EMAIL PROTECTED]> writes:
> 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.

You can not reliably obtain a file name from a file descriptor.  The
best you can hope for is to find a file name that resolves to the vnode
that the file descriptor is associated with.  The file name you find (if
you do - there is no guarantee) may or may not be the name by which the
file was opened.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to