From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:39:06 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 BEB56106564A for ; Tue, 16 Mar 2010 17:39:06 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from smtprelay-h21.telenor.se (smtprelay-h21.telenor.se [195.54.99.196]) by mx1.freebsd.org (Postfix) with ESMTP id 753208FC12 for ; Tue, 16 Mar 2010 17:39:06 +0000 (UTC) Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 9872EEACCE for ; Tue, 16 Mar 2010 18:07:06 +0100 (CET) X-SENDER-IP: [85.227.131.207] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsJVAAtYn0tV44PPPGdsb2JhbACbBQwBAQEBNy25OIR4BIYZiCw X-IronPort-AV: E=Sophos;i="4.49,651,1262559600"; d="scan'208";a="51196910" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb2.telenor.se with ESMTP; 16 Mar 2010 18:07:06 +0100 Message-ID: <4B9FBAB9.2060906@lazlarlyricon.com> Date: Tue, 16 Mar 2010 18:07:05 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100208 Thunderbird/3.0.1 MIME-Version: 1.0 To: Martin McCormick References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 16 Mar 2010 17:39:06 -0000 On 2010-03-16 18:02, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch > command? > > I have built a fairly decent Bourne shell script to run > just after installing mfsbsd on a target system. It figures out > the likely boot drive, formats it and then begins to build a > FreeBSD system on it. The script could intelligently ask for the > 64-bit or 32-bit trees if it could determine whether it was > running on the i86 or 64-bit system. > > Thank you. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > Does uname -p do it for you?