Subject: Re: clarification between machine_arch and machine
To: matthew green <>
From: Andrew Brown <>
List: tech-kern
Date: 01/27/2002 10:31:02
>   Currently uname states:
>   -m      print the machine hardware name. $MACHINE
>   -p      print the machine processor architecture name. $MACHINE_ARCH
>i don't see what the problem here is.

the i386 lacks the ability to report "i486", or "i586", or "athlon" or
anything else that might be considered interesting.

more interesting would be what the sparc and sparc64 ports would be
able to report: "sun4", "sun4u", "sun4c", "sun4m", "SUNW,Ultra-5_10",
"SUNW,Ultra-1", and/or some combination thereof.  these things are
very useful to know, and i don't know of any way to get that
particular tidbit at the moment, other than by installing solaris.

even more interesting is that solaris still reports "sparc" when it's
running in 64 bit mode, but netbsd reports "sparc64".

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."