From owner-freebsd-stable Thu Oct 28 15:54:58 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 43A7614DA5 for ; Thu, 28 Oct 1999 15:54:49 -0700 (PDT) (envelope-from rhh@ipass.net) Received: from stealth.ipass.net. (ppp-2-188.dialup.rdu.ipass.net [209.170.133.188]) by pluto.ipass.net (8.9.3/8.9.3) with ESMTP id SAA14482 for ; Thu, 28 Oct 1999 18:54:45 -0400 (EDT) Received: (from rhh@localhost) by stealth.ipass.net. (8.9.3/8.8.8) id SAA01600 for stable@freebsd.org; Thu, 28 Oct 1999 18:56:47 -0400 (EDT) (envelope-from rhh) Date: Thu, 28 Oct 1999 18:56:47 -0400 From: Randall Hopper To: stable@freebsd.org Subject: 'uname -p' & wrong CPU Message-ID: <19991028185647.A1427@ipass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a reason why 'uname -p' always reports 'i386'? Helping someone with a cross-platform system-info script, I notice that Linux kicks out i586 for Pentium-class CPUs, and i686 for Pentium-II class chips. 'sysctl hw.machine' does the same. I'll point him to 'sysctl hw.model' instead. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message