Re: /proc guidelines and sysctl

From: Mark H. Wood (mwood@IUPUI.Edu)
Date: Tue Jan 11 2000 - 12:58:10 EST


On Sat, 8 Jan 2000, Albert D. Cahalan wrote:
[snip]
> > /proc/cpuinfo -- same here static data. uname is since the beginnging
> > the proper interface for this stuff.
>
> This could be formatted once. The code to produce this could be
> marked as init code.

Even better, it could be broken down into:

        /proc/cpuinfo/N/vendor_id
        /proc/cpuinfo/N/bogomips
        /proc/cpuinfo/N/cachesize

and not formatted at all.

But I'd still like to be able to get it directly in binary and not even
bother with encoding/decoding, at my option.

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
"Where's the kaboom?  There was supposed to be an Earth-shattering kaboom!"
	 -- Marvin Martian, 01/01/2000 00:00:00

- 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 : Sat Jan 15 2000 - 21:00:18 EST