[Gllug] kernel new/old config
John Edwards
john_ed at cornerstonelinux.co.uk
Fri Apr 5 20:06:35 UTC 2002
On Fri, Apr 05, 2002 at 08:51:23PM +0100, Roger Whittaker wrote:
>
> On Fri, 5 Apr 2002, Alain Williams wrote:
>
>> On Fri, Apr 05, 2002 at 03:52:29PM +0100, Paul Brazier wrote:
>>>> Just a quickie: how to do you make xconfig using an existing
>>>> kernel as a
>>>> template? But not oldconfig? I did this a couple of years
>>>> ago, but for the
>>>> life of me cannot remember how.
>>>
>>> I think it's stored in /usr/src/linux/.config which you can import from
>>> the "make xconfig" form.
>>> That's assuming you compiled the previous kernel, I don't think there's
>>> a way of extracting the kernel config from a binary-only kernel (might
>>> be wrong here).
>>
>> No, not easy. That sort of thing has been talked about, but not implemented.
>
> I'm not sure whether this is SuSE-spcific, but what we do is to look at
> /proc/config.gz
>
> That contains the kernel config of the running kernel.
Debian's kernel-image packages have a copy of the config file in
/boot/config-$VERSION, and RedHat's kernel-source package has their
config files for the default kernel in /usr/src/linux-$VERSION/configs/.
SuSE's system sounds interesting - is it anything to do with this kernel
patch ?
http://www.it.uc3m.es/~ptb/proconfig/
--
#------------------------------------------------------------#
| John Edwards Email: John.Edwards at uk.com |
| |
| "Security vulnerabilities are here to stay." |
| Scott Culp, Manager, Microsoft Security Response Center |
#------------------------------------------------------------#
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list