[Top][All Lists]

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

Re: Problem coreutils & sh-utils {uname -p}....

From: Eric Blake
Subject: Re: Problem coreutils & sh-utils {uname -p}....
Date: Thu, 21 Dec 2006 05:56:08 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

Hash: SHA1

bug-sh-utils is an obsolete list, use bug-coreutils instead.

According to Ashwani Bhat on 12/20/2006 10:34 PM:
> Hi,
> I am using coreutils-v5.2.1on Linux x86 and x86_64. When I use "uname
> -p", it does not show any processor type. Instead it gives me "unknown"
> as the output. I tried the same with the sh-utils-v2.0 and the behavior
> remained the same.
> However coreutils-v4.5.3 is working fine. Can you please help ?

All of the versions you mentioned are out of date.  You may want to
consider upgrading to coreutils 6.7.

The fact that your copy of 4.5.3 printed something for -p is due to a
vendor patch, and not something in upstream coreutils.  The problem is
that Linux does not provide a consistent API for getting at the processor
type, so coreutils cannot guess it.  Some distros add patches that make -p
print something other than unknown, but they are not very portable, and
not worth the maintenance hassle upstream.  If you really want this fixed,
you should convince Linux to add an API that makes it easy and reliable to
get at this information.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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