Messages in this thread |  | | Date | Mon, 1 Jul 1996 23:58:16 +0100 | From | "Stephen C. Tweedie" <> | Subject | Re: Dynamic Device Inodes |
| |
Hi,
On Mon, 1 Jul 1996 16:00:10 +0200 (MEST), Claus Schroeter <clausi@chemie.fu-berlin.de> said:
> Hi,
> It may be possible that this question is very old:
> I read the 2.0 proc_xxxx routines and I wonder that there are no > registry routines for Dynamic Device Inodes in say /proc/dev. > It would be nice if any dynamically linked module could have its > own dynamically allocated inode, since the registry in the proc filesystem > could be done without occupying Major numbers.
The sysctl code in 2.0 allow modules to dynamically register new entries anywhere they want under /proc/sys (well, almost --- there's a small bugfix patch needed to make dynamic registration work properly, but it got to Linus just a little too late for 2.0). It would be quite easy to establish a convention for /proc/sys/dev and to let new device modules register themselves there.
Cheers, Stephen. -- Stephen Tweedie <sct@dcs.ed.ac.uk> Department of Computer Science, Edinburgh University, Scotland.
|  |