lkml.org 
[lkml]   [1996]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.134 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site