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

robbie@scot-mur.demon.co.uk
Sun, 25 Oct 1998 20:15:52 +0000


Hi
On Sun, Oct 25, 1998 at 10:18:51AM -0500, Scott Wood wrote:
> Mark H. Wood wrote:
>
> > > I think most people would agree that the simplest and most
> > > maintaintable formats for shell scripts and similar programs are
> > > locale independent, byte order independent, arbitrary precision,
> > > trivially parsible text with one record per line, all lines having
> > > the same format, except for possibly one or more well defined
> > > preamble lines that are trivial to skip.
> >
> > Well, I would. But what about programs that aren't shell scripts or
> > similar?
>
> What about them? fscanf should be able to handle the above type of
> format quite nicely.

It's not as efficiant as reading binary. Imho a lot of /proc could be
replaced by user space utilities for humans and shell scripts. The kernel
shouldn't have a ui.

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

-- 

Robbie Murray

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