On Mon, Apr 27, 2009 at 5:45 PM, Alan Coopersmith
<[email protected]> wrote:
>
>
> Alexander Eremin wrote:
>> Hi,
>> I see now it's a bug 2820 "Uname -m" does not report Operating System's mode 
>> correctly (32 or 64 bit).
>
> It's not supposed to:
>
>     -m                Prints the machine hardware name  (class).
>                       Use  of  this  option  is discouraged. Use
>                       uname -p instead. See NOTES section below.
>
>     The arch -k and uname -m commands return equivalent  values;
>     however,  the use of either of these commands by third party
>     programs is discouraged, as is the use of the  arch  command
>     in  general.  To  determine  the  machine's  Instruction Set
>     Architecture (ISA or processor type), use uname with the  -p
>     option.



isainfo -k was always the "recommended" way.

%martin
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to