Fileops in file.h

John Baldwin jhb at freebsd.org
Mon Nov 8 15:05:03 UTC 2010


On Sunday, November 07, 2010 10:08:08 am Fernando Apesteguía wrote:
> Hi,
> 
> I'm trying to understand  some pieces of the FreeBSD kernel.
> Having a look at struct fileops in file.h I was wondering why other
> file related functions don't have an entry in the function vector. I
> was thinking in mmap, fsync or sendfile.
> 
> Can anyone tell me the reason?

Mostly that it hasn't been done yet.  If there was a clean way to do an 
f_mmap() and get some of the type-specific knowledge out of vm_mmap.c I'd 
really like it.

-- 
John Baldwin


More information about the freebsd-hackers mailing list