Re: config file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 04 November 2002 09:22 pm, David L. DeGeorge wrote:
> How does one determine the config file in /usr/src/linux-2.4/configs
> that corresponds to the running kernel?
> David

There is a copy in /boot/config-${version} that should match.

I have two kernels installed:
$ rpm -q kernel 
kernel-2.4.18-14
kernel-2.4.18-17.8.0

This should output the name of the config file you want:
rpm -q kernel --qf "%{NAME}-%{VERSION}-%{ARCH}.config\n"

Here, I get:
$ rpm -q kernel --qf "%{NAME}-%{VERSION}-%{ARCH}.config\n"
kernel-2.4.18-athlon.config
kernel-2.4.18-athlon.config

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xzVWn/07WoAb/SsRApzxAJ9JX11msWHVoQXFZDIY0H84ULYlzgCgrd/g
ZsTEuc5lue+F08q2xfn61fA=
=iUsS
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux