Date: Thu, 2 Feb 2012 22:38:00 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: uname ? Message-ID: <20120202183800.GA41419@sirius.xvoid.org> In-Reply-To: <20120202183051.GA25323@hemlock.hydra> References: <NBECLJEKGLBKHHFFANMBKEICCPAA.joeb1@a1poweruser.com> <20120202183051.GA25323@hemlock.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
iQIcBAABAgAGBQJPKtgIAAoJEF9SuVmZPGsqRo0QANZCH64B9RkjIBcBnQKOmSgQ
BN8vOkKniAiiGHHEZLLX4EKbwnehktUt+f7fHs0FvEVknM5JitENltfUZKLWkFNt
jfM5lwc7ezkxuYPqfvRO1UFwCAiE6UxZN2m/BQO2XQTr6zh/o3Kotnj7EYwr6FiI
8EQUNLaxqhmTV+2dDXOnC64d7qr32ztmGDYfKaQ6UXf9loyY/1uN3JDWPtF1RXHJ
L2fqLeWexof21ZdH3pVRtEvQF8dLjY4JmT0s+eco7W2E+95+ubN7Bkb9TS8EQdkQ
jaoft8N0lL+TQKIX2bkKMN50PCqGBfwcS3Hi3Jky9ENoX7FlauUOK0r/c4IiYnfc
OHJg4He5gkKiI3gSKaoMmyAQXDnOB0tPvSKMiHbpYHqTOQP6QcJN3373ZhF2MpMe
90R3FxIKYPHKnCTjYbHUOtG1KLQPpYIhieo/jwCSBkyTOpJ0N/oFTnEEkngYmdcQ
OUeqRmeqvdU876ffDfg08PCnJZ8xZtqZ4pCXKGoHoAwYyJRJKITd/URn1lLeYHxD
KD79BqBvfufpP1RQCLnL8Xpz2OfwSf5tV2MzJjffRq8W7FT7wowKDLzNhLJeWPev
JAoDvOemsU+sR8rBZei3cQRtiLZhVSPx2sjg6jFRyUV2ogURLeOSC3RRSB7Hk0wc
u30fHUw3y/42f/t2/ZiW
=k3M+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120202183800.GA41419>
