On Wed, 2005-12-07 at 06:56, nice wrote:
> After a kernel module was loaded successfully, how to communicate wite this 
> kernel module like change the status of the kernel module.
> 
> In Linux, I can use /proc file to do that. But, In solaris, /proc file is 
> just used for processors.

As you noticed /proc in Solaris is purely about processes the way it was
intended to be it is not a dumping ground for all hacky things like in
Linux.

In Solaris and in other systems like BSD (and you can and should in
Linux IMO) you should have your kernel module create a device node in
/dev and use ioctl(2) on it.  See the source for the cryptoadm module in
OpenSolaris as a recently created example of this.

-- 
Darren J Moffat 

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

Reply via email to