> Anyone know how to get the compile options (those you'd enter into
> make xconfig) out of an already-compiled kernel? The compiled kernel
> is a 2.0.33, if that matters.
Uh, ouch!
There's not going to be a terribly easy way to do that, as far as
I know (unless someone's added something to the compile process
since the last time I looked at it).
Are you looking for specific information, such as the presence of
a driver or the setting of a variable? If so, you can use tools
such as nm(1) to look for the presence (or absence) of various
function names in the symbol table, and the values variables are
initialised to.
If you want the complete config information, you'd have to go
through the entire list of settings, for each one determine the
way to figure out from the nm(1) output what it's set to, and then
look through the output to find out the answer.
cjs
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc. Through infinite mist, software reverberates
Vancouver, BC (604) 257-9400 In code possess'd of invisible folly.