lkml.org 
[lkml]   [1997]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: procfs problems
    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


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