From owner-freebsd-bugs@FreeBSD.ORG Sat Feb 18 13:10:06 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C645C16A420 for ; Sat, 18 Feb 2006 13:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F06443D45 for ; Sat, 18 Feb 2006 13:10:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1IDA6Rh010299 for ; Sat, 18 Feb 2006 13:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1IDA60r010298; Sat, 18 Feb 2006 13:10:06 GMT (envelope-from gnats) Date: Sat, 18 Feb 2006 13:10:06 GMT Message-Id: <200602181310.k1IDA60r010298@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Robert Millan Cc: Subject: Re: kern/77355: Detect i*86 subarches for uname X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Millan List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 13:10:06 -0000 The following reply was made to PR kern/77355; it has been noted by GNATS. From: Robert Millan To: bug-followup@FreeBSD.org Cc: Bruce Evans 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 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