> Sometimes when I'm doing lots of reconfiguration on several machines, or
> if it's been a while since I've tinkered with a particular box, it can
> be easy to forget how a particular machine's kernel was configured. Is
> there a way to get a kernel to spit out something that vaguely resembles
> the configuration options I gave it at compile time?
>
> Of course I could just keep better records, but that doesn't help me
> much with regard to past sins. . .
Yeah, and soon your kernels look like
zImage-2.0.33-ipmasq-3c509-sb64-ppp-aha152x :)
I have a program someplace that was written to find out version numbers,
and a few extra details. I'll look around for it again, and submit it to
Aaron for the RH-HOWTO. In the meantime, try looking at /proc and
especially /proc/ksyms. For example, if you want to find out if
masquerading is compiled in the kernel, you can do:
# grep ip_masq /proc/ksyms
00156208 register_ip_masq_app
0015626c unregister_ip_masq_app
00156988 ip_masq_skb_replace
00155014 ip_masq_new
00155040 ip_masq_set_expire
001d54ec ip_masq_free_ports
001d5548 ip_masq_expire
00154acc ip_masq_out_get_2
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.