Re: /proc guidelines and sysctl

From: Strohm Thomas (FV/SLD) * (Thomas.Strohm@de.bosch.com)
Date: Mon Jan 31 2000 - 11:21:33 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:28 EST