Thanks for all the answers.
Although I was interested in up to date information, I am actually
working on an existing 2.4 module, that currently reads run-time
parameters using ioctl. I played a little with procfs, but it seems
rather similar to an ioctl (a little safer maybe, but basically
similar). I will check out netlink sockets too.

In the mean time, I read a little on sysfs, and it seems it's the
recommended way on 2.6, as it combines the type-safety of /proc with a
structured clean interface.
Quoting Love's "linux kernel development": "sysfs is currently /the
place /for implementing functionality previously reserved for ioctl()
calls on device nodes or the procfs filesystem ... Such an approach
avoids the type-unsafe use of obscure ioctl() arguments and the
haphazard mess of /proc"

Pity I am on 2.4 ;-).

Regards
Hillel



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to