-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 24 Feb 2003 15:58:20 -0600, Thomas Dodd wrote: > >>is there an easy way to figure out for which processor a kernel was > >>compiled? I.e., on my laptop (Pentium MMX), I have > >>kernel-2.4.18-24.8.0.i386 and kernel-2.4.18-18.8.0.i586 . > >> > >> > > > >rpm -q --qf '%{arch} \n' kernel > > > > > > That only gives the arch of the latest installed kernel. > > That may be what Michael wanted, but is there a way to find out what > arch the currently running kernel was built for? $ rpm -q --qf "%{arch}\n" kernel-$(uname -r) > What about an arbitrary kernel in /boot, can you determine what arch > it's for? $ rpm -qf --qf "%{arch}\n" /boot/vmlinuz-* > I could have a custom kernel in /boot, but not remember if it was i386, > i686, or athlon. > How can I tell? You can't, because "uname -r" does not show the difference between i686 and athlon. Keep your kernel config. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+WzuS0iMVcrivHFQRAh2qAJ9WZvAYfzT+6Y6R0lXHM3Aw4VAz+gCffAXc z4TfB0OqVR3M2I1M2Q+jQaM= =+vXe -----END PGP SIGNATURE----- -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list