Re: proc_register / proc_unregister

From: Tigran Aivazian (tigran@sco.COM)
Date: Tue Mar 07 2000 - 10:57:14 EST


Hi,

You asked:

> My questions are: When did these two functions go away? and What is the
> new method to add/remove /proc entries?

I don't remember when those disappeared but the proper way to add/remove a
/proc file is to use create_proc_entry() and remove_proc_entry().

An example of usage is proc_misc_init() in fs/proc_misc.c.

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

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



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