Redhat and kernel question
pll at lanminds.com
pll at lanminds.com
Thu Mar 13 13:07:11 EST 2003
In a message dated: 13 Mar 2003 12:50:28 EST
Jeff Macdonald said:
>Um, I do want to know what CPU the kernel was compiled for. Is the -m
>flag not correct?
I think what he's saying is that uname only provides information
about the current architecture. Thus, if you are running a kernel on
an i686, that's what uname -m will report, whereas if you take that
same kernel and run it on a 486, uname -m on that machine will report
i486.
What you want is information from the rpm package itself, not uname.
As Ben pointed out, the defaults for rpm don't show this information,
however, this command does:
ben> rpm -q kernel --qf '%{NAME}-%{VERSION}-%{RELEASE} %{ARCH}\n'
--
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
More information about the gnhlug-discuss
mailing list