Re: Standardized /proc/cpuinfo patch

H. Peter Anvin (hpa@transmeta.com)
2 Sep 1999 01:10:11 GMT


Followup to: <Pine.GSO.4.10.9909011506590.13578-200000@z.glue.umd.edu>
By author: Vince Weaver <weave@eng.umd.edu>
In newsgroup: linux.dev.kernel
>
> This adds to the beginning of /proc/cpuinfo the following fields
>
> number_of_cpus
> cpu_arch
> cpu_type
> cpu_vendor
> cpu_MHz
> cpu_bogomips
>
> Because the above tokens are all new, old parsing routines should not
> break.
>
> After the above will follow a new-line, then the original /proc/cpuinfo.
>

One big problem is that people tend to not follow existing
conventions. For example, for parsing reasons, it was stated that
/proc/cpuinfo should not have spaces in the keywords (because space is
a separator.) Someone broke that, majorly.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

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