Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 13:10:06 GMT
From:      Robert Millan <rmh@aybabtu.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/77355: Detect i*86 subarches for uname
Message-ID:  <200602181310.k1IDA60r010298@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/77355; it has been noted by GNATS.

From: Robert Millan <rmh@aybabtu.com>
To: bug-followup@FreeBSD.org
Cc: Bruce Evans <bde@zeta.org.au>
Subject: Re: kern/77355: Detect i*86 subarches for uname
Date: Sat, 18 Feb 2006 14:02:31 +0100

 Hi!
 
 Can we revisit this?  It's feasible for us to have this in HW_MACHINE_ARCH
 instead (-p).
 
 Would you like me to send a patch for that?
 
 Bruce Evans <bde@zeta.org.au> wrote:
 > -p is supposed to give the arch (e.g., -i386) and -m is supposed to
 > give the platfrom (is that the sub-arch?) (e.g., i686).  It is useless
 > for these to return the same string.  (i686 is also useless, since it
 > is the same for all i386's newer than about 8 years old, but that is
 > another bug.  The hw.model sysctl gives more useful info (e.g.,
 > "AMD Athlon(tm)"), but uname(1) only uses uname(2) which doesn't go
 > near this sysctl.)
 > 
 > However, I don't like changing the -a output (-a gets -m but not -p).
 
 -- 
 Robert Millan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602181310.k1IDA60r010298>