[nzlug] Kernels (again) and patching
Nevyn
nevynh at gmail.com
Mon Dec 3 21:38:01 NZDT 2007
On Dec 3, 2007 7:18 PM, Tim Frost <timfrost at xtra.co.nz> wrote:
>
> On Mon, 2007-12-03 at 13:27 +1300, Edwin Flores wrote:
>
> > Also, the .config the kernel was compiled with might be found at
> > /proc/config.gz - I'm not sure if this is set in the vanilla kernel.
>
> This is distribution-specific. My system, running Ubuntu 7.10, doesn't
> have /proc/config*, but does have a copy of the configuration
> in /boot/config-`uname -r`. That file is clearly a copy of the .config
> from the kernel build, because it has the comments, etc:
> tim at marvin:~$ ls /proc/config*
> ls: /proc/config*: No such file or directory
> tim at marvin:~$ head /boot/config-2.6.22-14-generic
> #
> # Common config options automatically generated by splitconfig.pl
> #
> # CONFIG_4KSTACKS is not set
> CONFIG_AC97_BUS=m
> CONFIG_ACORN_PARTITION=y
> # CONFIG_ACORN_PARTITION_ADFS is not set
> # CONFIG_ACORN_PARTITION_CUMANA is not set
> # CONFIG_ACORN_PARTITION_EESOX is not set
> CONFIG_ACORN_PARTITION_ICS=y
>
>
>
> Tim
It's an option set during the kernel config. I sort of prefer the
/proc way but can see the advantages to Ubuntu's methods as well.
More information about the NZLUG
mailing list