Re: [osol-discuss] how to do read/write files in the kernel?

2005-11-30 Thread Frank Hofmann - Solaris Sustaining

 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


[osol-discuss] how to do read/write files in the kernel?

2005-11-29 Thread nice
In kernel modules, how to do read/write files ?
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org