Dňa 25.05.2013 20:34 Doug wrote / napísal(a): >> Small example from my machine – Debian testing: >> >> slavko@bonifac:~$ uname -i >> unknown >> slavko@bonifac:~$ uname -m >> x86_64 >> > I don't get those results. Here are my results, including the kernel. > > Linux linux1.localdomain 3.2.18-pclos2.pae.bfs #1 SMP PREEMPT Thu May 24 > 05:33:57 CEST 2012 i686 i686 i386 GNU/Linux > [doug@linux1 ~]$ uname -i > i386 > [doug@linux1 ~]$ uname -m > i686 > > IOW, I'm running a 32-bit kernel on a 64-bit processor. > Perhaps uname is set up differently in Debian? Should it be?
I am using amd64 kernel from Jessie. Someone described already, that -i option returns info from kernel (if it provides it). It seems, that the i386 kernel provides it, but the amd64 kernel doesn't. You can see in other responses, that i am not only one :-) I want only to demonstrate, that the -i option is not reliable in all cases/systems. regards -- Slavko http://slavino.sk
signature.asc
Description: OpenPGP digital signature