uname ?
Yuri Pankov
yuri.pankov at gmail.com
Thu Feb 2 18:38:02 UTC 2012
On Thu, Feb 02, 2012 at 11:30:51AM -0700, Chad Perrin wrote:
> On Thu, Feb 02, 2012 at 03:09:00PM +0800, joeb1 wrote:
> > It looks to me that the uname -m and uname -p always have the same
> > value, such as "i386".
> >
> > Is there some fine-grained difference or some un-documented difference
> > between them
> > or some combination were the values would be different?
>
> I don't have one handy, so I don't have any way to test this right now,
> but I wonder if an AMD machine might give a different answer to one of
> those than an Intel machine, given a 32-bit 386 instruction set processor
> for both.
I *guess* they will be different for some targets in this list:
$ make targets -C /usr/src
Supported TARGET/TARGET_ARCH pairs for world and kernel targets
amd64/amd64
arm/arm
arm/armeb
i386/i386
ia64/ia64
mips/mipsel
mips/mipseb
mips/mips64el
mips/mips64eb
mips/mipsn32eb
pc98/i386
powerpc/powerpc
powerpc/powerpc64
sparc64/sparc64
Yuri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120202/0c48ec3c/attachment.pgp
More information about the freebsd-questions
mailing list