Re: [PATCH] 2.2: /proc/config.gz

From: Keith Owens (
Date: Wed Aug 30 2000 - 19:49:34 EST

On Wed, 30 Aug 2000 10:36:09 -0500,
Timur Tabi <> wrote:
>** Reply to message from Chip Salzenberg <> on Tue, 29 Aug 2000
>18:27:20 -0700
>> + Say Y here if you want a copy of your current kernel configuration
>> + saved in the kernel that you build.
>Wow, this is incredibly useful!!! Why, or why, isn't this part of the standard
>kernel?!?!? It would save so many headaches building kernels.

Because it is easier to solve the problem in user space. Just copy
.config to /lib/modules/<version>. Look at modutils 2.3.14 onwards, it
has a list of /lib/modules/<version>/filenames that will be ignored.
modprobe -c reports

# Prune
prune modules.dep
prune modules.pcimap
prune .config
prune build

You can store, .config and the symlink to the kernel source
in /lib/modules/<version>, as well as the modules dependency map and
the mapping of PCI codes to modules. This is perfectly extensible and
solvable in user space, no kernel bloat required.

Before Rusty tells me that not everybody uses modules,
/lib/modules/<version> can exist even if the kernel has no modules, it
just needs a simple Makefile change. Think of /lib/modules/<version>
as a standard place to store information about kernel <version>.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:26 EST