[ubuntu-uk] uname -a for 32 bit os on 64 bit cpu

Juan J. Martínez reidrac at usebox.net
Tue Nov 15 09:17:50 UTC 2011


On Tue, 2011-11-15 at 08:57 +0000, Colin Law wrote:
> 2011/11/15 Juan J. <reidrac at usebox.net>:
> > On Tue, 2011-11-15 at 08:04 +0000, Colin Law wrote:
> >> [...]
> >> which suggests that it is talking about the hardware platform the
> >> software is running on.
> >
> > Have you tried texinfo manual as recommended in the man page?
> >
> > info coreutils 'uname invocation'
> >
> > It's way more complete.
> >
> > I looks like the problem may be in the information that it's being
> > provided by the kernel it's not accurate, or at least it's not what
> > uname is expecting :)
> 
> So you think the problem is not in the man page for uname, but uname
> -i -m -p *should* display information about the hardware rather than
> the installed OS?

It's interesting that POSIX only seem to cover -m, but not -i or -p:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/uname.html

For -m says "on which the system is running", which doesn't seem to be
coherent with the uname output we are getting in a 64 bit system running
a 32 bit kernel.

Regards,

Juan





More information about the ubuntu-uk mailing list