Writing to a file

Maxim Zhuravlev thIOretic at FreeBSD.org
Tue May 8 02:40:11 UTC 2007

"Sonja Milicic" <tanarri at geri.cc.fer.hr> wrote 

> So, could anyone please give me a detailed
> explanation of how to open a file in kernel and write to it - best data
> types to use, functions, what to look out for, maybe a link to tutorial
> or manual that deals with this (if such a thing exists), etc.?

Not really an explanation, but may be you should start from 
vfs kernel subsystem (it should be nicely documented, I guess :)). 
Even more adequate, study file-related syscalls implementation.
If not done already.


More information about the freebsd-hackers mailing list