Re: [PATCH] fix os release detection in module-init-tools-0.9.6

Randy.Dunlap (rddunlap@osdl.org)
Sun, 29 Dec 2002 10:33:59 -0800 (PST)


On Sun, 29 Dec 2002, Rusty Russell wrote:

| In message <957BD1C2BF3CD411B6C500A0C944CA2601AA1378@pdsmsx32.pd.intel.com> you
| write:
| > > Now, why do you want /proc/ksyms exactly? I'm not hugely opposed to
| > > it, but it's rarely what people actually want, since it contains only
| > > exported symbols.
| > The two things make me want ksyms... ;-)
|
| > First, if I'm a stranger to a system, how can I know if a feature
| > (preemptive, for example) is on/off on that?
|
| Um, you read the .config, which hopefully is stored somewhere.
| (Although you could resurrect the /proc/config patch which goes around
| every so often). There are many things you can't tell by reading
| /proc/ksyms.

Right, the .config file is the answer. And there are at least 2
patch solutions for it, the /proc/config that Rusty mentioned, or
the in-kernel config that Khalid Aziz and others from HP did along
with me, and it's in 2.4.recent-ac or 2.5.recent-dcl or 2.5.recent-cgl.

-- 
~Randy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/