procfs doubts

Dattatray Kulkarni (dattatray_kulkarni@infy.com)
Thu, 9 Aug 2001 14:53:04 +0530


Hi,
I have some doubts regarding proc file system in linux.
1. read_proc & get_info have similar functionality. when i do cat
/proc/net/some_procfile, read_info function is called. then how & when
get_info function is called?
2. What is the exact difference between proc_create_entry &
proc_register? Is it necessary to write both of these functions?
3 . How the function write_proc works? and when that function is called
by the kernel?
regards,
dattatray.

-
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/