bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

uname -p broken?


From: tom wible
Subject: uname -p broken?
Date: Fri, 06 Oct 2000 15:56:39 -0400

i'mm trying to write a shell script that determines a
machine-specific path, one that is consistent consistent w/java's
os.arch property:
for
        Operating System:       SunOS
        Architecture:           sparc

address@hidden 23% uname -s
SunOS
address@hidden 24% uname -p
sparc

and
        Operating System:       IRIX
        Architecture:           mips

address@hidden 66% uname -s
IRIX
address@hidden 67% uname -p
mips

unfortunately:

        Operating System:       Linux
        Architecture:           i386    <- !!! wtf does THIS come from????

address@hidden 11% uname -m
i586
address@hidden 12% uname -p
unknown

or is this just a feature;-)
-- 
======================================================
= tom wible                                          =
= trw                         address@hidden =
= rva/1900                         703-294-4744
======================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]