Re: how can i get file name knowing its descriptor?

2008-07-04 Thread Peter Jeremy
On 2008-Jul-03 14:08:12 +0300, Uladzislau Rezki [EMAIL PROTECTED] wrote: I've been writing a small kernel module, that provides information about modification of the filesystem to user_land/userspace through the character device. I'm using FreeBSD 4.10 4.10 has not been supported for several

how can i get file name knowing its descriptor?

2008-07-03 Thread Uladzislau Rezki
Hi all, I've been writing a small kernel module, that provides information about modification of the filesystem to user_land/userspace through the character device. I'm using FreeBSD 4.10 So, my question is: Is there any way to get file name knowing its descriptor? static int xxx_write (struct