From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 16:50:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68EDC106564A for ; Wed, 17 Mar 2010 16:50:52 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 43D7A8FC16 for ; Wed, 17 Mar 2010 16:50:52 +0000 (UTC) Received: (qmail 27745 invoked from network); 17 Mar 2010 16:50:51 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Mar 2010 16:50:51 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 928105088A; Wed, 17 Mar 2010 12:50:50 -0400 (EDT) From: Lowell Gilbert To: Martin McCormick References: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> Date: Wed, 17 Mar 2010 12:50:50 -0400 In-Reply-To: <201003171636.o2HGaEwn029337@dc.cis.okstate.edu> (Martin McCormick's message of "Wed, 17 Mar 2010 11:36:14 -0500") Message-ID: <44ljdqevth.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 16:50:52 -0000 Martin McCormick writes: > One thing I discovered while trying this command out on > various systems is that if the system was originally built using > i386 code, it reports as i386 even though there is a 64-bit > platform struggling to get out. That sounds correct to me. It's reporting the architecture of the OS, not of the CPU, and that's what you actually need to know. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/