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

Re: Bug#183858: assign, reassign, close bug without even telling why



Michael Stone <mstone@debian.org> a tapoté :

> On Sun, May 25, 2003 at 04:51:17PM +0200, Jim Meyering wrote:
> >The problem is that the kernel provides no way to
> >get the required information.
> 
> s/no way/no reasonable way/
> 
> It is possible to parse /proc/cpuinfo (that's what the experimental
> patch in the debian coreutils-4.5.2-1 did) but that's a losing game
> because the format is non-portable (even between architectures on the
> same kernel release) and not guaranteed to remain constant in future
> kernels. (Other kernels provide this info either as an extension in
> utsname.h or by another regular method that doesn't involve parsing a
> poorly documented text file.) Due to the number of complaints regarding
> -i and -p returning "unknown" I've simply removed the options from the
> debian package. They aren't required by any standards document and are
> causing more trouble then they are worth.

Thanks a lot for this information.

That said, removing -p and -i option may be problematic. It should be
done upstream. People may (as I've done) write scripts with uname -mip
and unknow is not an error message while  "uname: invalid option -- x
Try `uname --help' for more information." is.
Anyway, if we havent got any chance to get a -pi working in a near
future, it should be removed from any scripts.





-- 
Mathieu Roy
 
  Homepage:
    http://yeupou.coleumes.org
  Not a native english speaker: 
    http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english



Reply to: