Re: how to tell i386 from x86-64 kernel

From: Jan Engelhardt
Date: Sat Feb 09 2008 - 15:13:57 EST



On Feb 1 2008 12:53, Alejandro Riveira FernÃndez wrote:
>>
>> # uname -m
>> I won't tell you.
>> # linux32 uname -m
>> i686
>
> Ubuntu 7.10 64 bit userland 2.6.24
>
>$ uname -m
>x86_64
>$ linux32 uname -m
>i686

What I am saying is that uname(2) does not reliably tell you whether you
have a 64-bit kernel underneath unless you have other sources of
information.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/