procfs doubts

From: Dattatray Kulkarni (dattatray_kulkarni@infy.com)
Date: Thu Aug 09 2001 - 04:23:04 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:24 EST