bug-coreutils
[Top][All Lists]
Advanced

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

Re: uname


From: Paul Eggert
Subject: Re: uname
Date: Mon, 16 Apr 2007 17:23:35 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Micah Cowan <address@hidden> writes:

> given that /proc/cpuinfo has useful info, perhaps -p shouldn't
> be "unknown"?

If Linux ever gives us a system call to get the processor type
reliably then we'll use that.  In the meantime, it's not clear what
the relationship is between processor type and the stuff one tends to
find in /proc/cpuinfo.

For what it's worth, we have the following output:

          Linux   Solaris x86  Solaris sparc
uname -m  i686    i86pc        sun4u
uname -p  unknown i386         sparc

so to some extent Solaris is drawing a distinction between -m and -p
that doesn't really exist in the x86 world, and Linux is not bothering
to support both.  At any rate, I don't see anything in /proc/cpuinfo
that corresponds to what "uname -p"'s role.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]