RE: How to get kernel data using /proc system?

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Mar 01 2002 - 20:54:46 EST


On 1 Mar 2002, Thomas Hood wrote:

> I wrote the following comment block explaining how
> to write a proc_file_read function. This is the
> function you register with procfs using
> create_proc_read_entry(). Hope this helps.

[snip ~50 lines of comments]

You know, that's a wonderful explanation... of reasons for _not_ using
->proc_read(). If interface takes that much to document - it's crap.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:22 EST