Yuri 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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"