[Techtalk] Query or List Kernel Options?
Shoshannah Forbes
xslf at yahoo.com
Sun Jun 12 13:33:23 EST 2005
Kai MacTane wrote:
> Does anyone know of a way to determine the options selected on an
> already-compiled and -installed kernel? I'm getting ready to try some
> traffic shaping and bandwidth management on a Fedora Core 3 machine, and
> I'd like to find out if options like CONFIG_NET_SCHED, CONFIG_NET_QOS,
> and so on are already enabled, or if I'm going to need to recompile.
>
If the option "store config in /proc"(or something like this) was
enabled when the kernel was compiled, then you can pull the config with
a command similar to this:
zcat /proc/config.gz > /usr/src/linux/.config
(assuming that you already unpacked the source of the new kernel)
I don't know if Fedora's kernel has this option enabled.
--
Shoshannah Forbes
http://www.xslf.com
More information about the Techtalk
mailing list