[nzlug] Kernels (again) and patching

Tim Frost timfrost at xtra.co.nz
Mon Dec 3 19:18:38 NZDT 2007


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




More information about the NZLUG mailing list