[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] SuSE 7.2 kernel source
Alex Hudson wrote:
> On Sunday 14 October 2001 21:52, you wrote:
>
>> well, oddly enough I found an option in xconfig to store the options in
>> the kernel, but it says nothing about how to get them out again.
I was wrong. The enable /proc option explains it.
> It saves the config to a file - usually, .config in the same directory as the
> source (/usr/local/src/linux/.config, for example). However, you can call it
> anything you please - just making sure that the file called .config (or
> symlink, whatever) is available for when you actually compile.
Yes, thanks, but not quite what I was talking about.
>> I've
>> enabled it and maybe will find out more later.
this is what the option help tab gives:
CONFIG_PROC_CONFIG:
Say Y here if you want a copy of your current kernel configuration
saved in the kernel that you build. This is extremely useful if you
ever build more than one kernel. The cost is around 1K-4K of running
memory. Only say no if you really can't spare this. You can sneeze
and lose more on memory than this.
It really is in the kernel and can be got at by e.g.:
cat /proc/config.gz | gunzip | lpr
[nearly 20 pages of fine print...]
YESSS! Finally figured something out for myself!
> xconfig is fine. I personally use 'make menuconfig', which is practically the
> same interface, just using text. It's actually much faster to tweak a kernel
> config in menuconfig/xconfig, which you will no doubt want to do when you get
> into kernel compiling and start playing with things.
Yep, doing that. but file loading/saving under xconfig seems buggy.
I've had error messages complaining that no value was set for some options.
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.