lkml.org 
[lkml]   [1997]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: procfs problems
Date
> 
> > Those of you interested in discussing design flaws with the current procfs
> > filesystem, take a look at
> >
> > http://www.anime.net/~goemon/procfs.html
> >
> > I invite comments.
>
> Well regarding your /proc/cpuinfo format, I think we could fix this
> problem by just making sure that the very first line of the cpuinfo
> holds the port name.
>
> Something like:
>
> /proc/cpuinfo:
> 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?

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.

-hpa


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.554 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site