Hi,
I see now it's a bug 2820 "Uname -m" does not report Operating System's mode 
correctly (32 or 64 bit).
Why not be use SI_ARCHITECTURE_K instead of  SI_ARCHITECTURE for -p flag (-m?) 
in "uname" code?
After changing this I tested uname on usual 32bit PC and on my Toshiba A300 
laptop, which cpu has 64bit support and OpenSolaris loads 64bit kernel on it 
(but old uname reporting i386):
# ./new.uname -p    # on 32bit PC
i386
# ./new.uname -p   # on Toshiba
amd64


Regards,
Alexander Eremin
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to