[lkml]   [2000]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] 2.2: /proc/config.gz
    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

     \ /
      Last update: 2005-03-22 12:38    [W:0.023 / U:23.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site