lkml.org 
[lkml]   [2000]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: /proc guidelines and sysctl
Date
Hi!

Sorry, I picked up this discussion a bit late...

> Are you just blind to the neverending
format/compatiblity/parsing/performance
> problems the whole idea behing /proc induces inherently?

IMHO the only serious point against /proc in the discussion sysctl() vs.
/proc
was the formatting issue (performance set aside).

I think this is a very serious point and could be circumvented by
introducing
alternative *binary* file formats. For instance:
meminfo would be paralleled by a binary file meminfo.b and a struct
proc_meminfo
{...} in <linux/proc_fmts.h>. Then there would be no problem with parsing
anymore.
And the advantage to be able to access the meminfo information in readable
form
via the VFS would be retained.

The compatibility problem is also a non-issue if the get_*() functions are
changed synchronously with the corresponding struct in proc_fmts.h as all
the applications are available in source code :-). Aren't they?

Thomas Strohm

-
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/

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