Re: procfs problems

Dan Hollis (goemon@sasami.anime.net)
Sat, 19 Apr 1997 06:04:34 -0700 (PDT)


On Sat, 19 Apr 1997, Christopher Horn wrote:
> Dan Hollis wrote:
> > > I think the design goal behind the sysctl interface was different. While
> > > it could probably be used to eliminate some of the proc files like
> > > cmdline and cpuinfo, there are many others it can not easily handle.
> > Like?
> pci, mounts, swaps, ioports, interrupts, devices, ksyms, etc...
> basically things that list multiple entries, and things that contain
> calculated values. You would end up writing just as much code to handle
> them either way.

devices, interrupts, ioports could be easily converted, IFF sysctl allows
dynamic building of the /proc/sys filesystem heirarchy. I'm still
investigating this.

Calculated values can be supported though, since the API defines
callbacks for displaying data types.

-Dan