Subject: Re: Generic Properties
To: Tobias Krullmann <>
From: Jaromír <>
List: tech-kern
Date: 06/27/2001 16:17:47
Tobias Krullmann wrote:
> A kernel module puts the names of its configuration parameters into the
> configuration file system, but retains control about the parameters values.
> Read and write requests are forwarded to the controlling module, which
> manages the memory containing the parameters value. If a parameter is
> defined by multiple modules, each module manages its private copy of the
> parameter, the file system forwards write requests to each defining module
> and a read request to only one. No module is allowed to alter its private
> copy of a registered parameter without using the file system. To change a
> value a module calls the file system write function and the new value is
> forwarded to all other modules automatically. (this scheme seems to be more
> simple than a callback based)

I gather the Linux procfs sentiment, but this is commonly done
using sysctl on NetBSD (or ioctl, if the 'module' is a device).

Jaromir Dolecek <>
NetBSD - just plain best OS! -=*=- Got spare MCA cards or docs? Hand me them!