[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem coreutils & sh-utils {uname -p}....
From: |
Ismail Donmez |
Subject: |
Re: Problem coreutils & sh-utils {uname -p}.... |
Date: |
Thu, 21 Dec 2006 15:04:57 +0200 |
User-agent: |
KMail/1.9.5 |
21 Ara 2006 Per 14:56 tarihinde, Eric Blake şunları yazmıştı:
> 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.
Whats wrong with parsing /proc/cpuinfo on Linux?
Regards,
ismail
--
Bir gün yolda yürüyordum... Bir şarkı duydum... Kalbim acıdı... Bu kadar...