Re: procfs problems

Miguel de Icaza (miguel@nuclecu.unam.mx)
Tue, 15 Apr 1997 14:50:54 -0500


> > port : {i386,alpha,sparc,ppc,mips}
> >
> > And then, if people want to parse any of the extra information, they
> > should know the architecture specific information on the CPU before
> > attempting to parse it.
> >
>
> Isn't that what uname -m is supposed to do?

Well, yes, and most of /proc/version is also returned by uname -a :-).

> Pet peeve: uname -m should return i386 on all systems. If we want to
> make the processor generation visible via uname, I think we should
> make uname -p work.

Right. This is the idea behind /proc/cpuinfo in the port field.

Miguel.