[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uname -p/-i



[bmacy@job /opt/home/bmacy]uname -p
AMD Athlon(tm) XP 1600+
[bmacy@job /opt/home/bmacy]uname -i
AuthenticAMD

Interesting... anyways, just for comparison.

Brian Macy


James A Morrison wrote:
 Hi,

 Randomly I was looking throught the uname documentation and discovered
the -p and -i switches.  On both hurd-i386 and i386 these values are unknown.
However, on sparc this values are defined.  Unfortunatly, I think these values
are backwards.

 uname -p is supposed to return the processor of the machine.
 uname -i is supposed to return the hardware platform.

 So, I would expect uname -i to return sun4u on my ultra 5, and uname -p
to return a variation on UltraSparc.

 This is the actual output:
jim@squirrel:~ $ uname -p
sun4u
jim@squirrel:~ $ uname -i
TI UltraSparc IIi

 Now for the actual question: is this a kernel bug or a bug in coreutils, or
even a bug in my setup?

James A. Morrison





Reply to: