Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2010 18:07:05 +0100
From:      Rolf Nielsen <listreader@lazlarlyricon.com>
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:  <4B9FBAB9.2060906@lazlarlyricon.com>
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
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?



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