Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 17:08:39 +0000
From:      Matthew Seaman <m.seaman@black-earth.co.uk>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Automatic Way to Tell if a FreeBSD system is 64 or 32-bit?
Message-ID:  <4B9FBB17.5060609@black-earth.co.uk>
In-Reply-To: <201003161702.o2GH2lIV054685@dc.cis.okstate.edu>
References:  <201003161702.o2GH2lIV054685@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B9FBB17.5060609>