From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 17:09:00 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 2AE9A106566B for ; Tue, 16 Mar 2010 17:09:00 +0000 (UTC) (envelope-from m.seaman@black-earth.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA708FC08 for ; Tue, 16 Mar 2010 17:08:59 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o2GH8ki6000224 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Mar 2010 17:08:47 GMT (envelope-from m.seaman@black-earth.co.uk) Message-ID: <4B9FBB17.5060609@black-earth.co.uk> Date: Tue, 16 Mar 2010 17:08:39 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Martin McCormick References: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF9989DDFB57492E7D31EE9A0" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, SPF_FAIL,T_RP_MATCHES_RCVD autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on happy-idiot-talk.infracaninophile.co.uk 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:09:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF9989DDFB57492E7D31EE9A0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16/03/2010 17:02:47, Martin McCormick wrote: > Is there a FreeBSD command similar to the Linux arch > command? >=20 > 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. uname -m Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 --------------enigF9989DDFB57492E7D31EE9A0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkufux4ACgkQ8Mjk52CukIwXoACfW0QUXTEdUAdK0sodJ/w0lI9H CygAmwZxh0poJIkDwpI2329cQxx34l3M =h6en -----END PGP SIGNATURE----- --------------enigF9989DDFB57492E7D31EE9A0--