> From: nice <[EMAIL PROTECTED]>
> 
> In kernel modules, how to do read/write files ?

VOP_READ()/VOP_WRITE().

For examples, see the e.g. NFS server sourcecode:

http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/fs/nfs/nfs3_srv.c#r
fs3_write


Do you want to write a layered filesystem ? There are many more
things to be aware of when you do that ...

Bye,
FrankH.

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to