On Sat 2008-02-09 14:34:30, Arjan van de Ven wrote: > On Sat, 9 Feb 2008 21:13:43 +0100 (CET) > Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > > > > 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. > > that's sort of a rabbit-and-the-frog problem. The 32 bit emulator tries to > look EXACTLY like the 32 bit kernel, and it really should. > If someone wants a method to detect even that... we would really want > to know the exact usecase.. because very likely it's the wrong answer > to some other problem ;-)
dmesg should really really tell you 32 vs. 64 bit, at the first line where it prints versions... so you easily know what you are dealing with when someone sends a bugreport. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/