[prev in list] [next in list] [prev in thread] [next in thread]
List: coreutils-bug
Subject: Re: uname
From: Paul Eggert <eggert () CS ! UCLA ! EDU>
Date: 2007-04-17 0:23:35
Message-ID: 874pnfg86w.fsf () penguin ! cs ! ucla ! edu
[Download RAW message or body]
Micah Cowan <micah@cowan.name> 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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic