Re: ARMS WAVING!!! Proposal to fix /proc dainbrammage.

The Doctor What (docwhat@gerf.org)
Mon, 26 Oct 1998 09:51:03 -0600


Someone had mentioned this idea:
Have /proc be just for process tables, and add another directory
(something like /sys) which would have the user readable files, which
would be managed by a userland process. All the machine versions of the
info should be available via kernel internals.
I like this idea because I don't think that all the code to make
/proc "nice" should be in the kernel. I have no problem with this
userland program shipping *with* the kernel (making it easy to keep in
sync), tho.
This way, you can make the output for the various human and script
readable files (in /sys in my example above) be locale sensitive and even
have it be usable by userland processes. Example: You have a database on
your system, it can output status into a /sys file.
In addition, others can then impliment versions of the /sys
directory for other OS's, allowing some stuff to be more cross platform.

I'm not saying /sys should be the name, it's all I can come up
with this early. Others proposed better names.

That's just my two cents.
docwhat@gerf.org

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