edit: Will move thread to Linux - Kernel.
---
Hi.
I am writing a module, and I need an easy way to set parameters to it. Using sysctl seems to be an easy and convenient way of doing ti. The only problem: I can't do it
.
Say I want to add a length parameter to /proc/sys/net/mymod/length of value 10. When I execute
PHP Code:
sysctl -w net.mymod.length=10
I get the following error "net.mymod.length is an unknown key".
So my question is whether it is at all possible to use sysctl to set certain parameters for my module? If so, what do I have to do to create a custom key? If not, what would be a good alternative?
Thanks,
i.b.