Re: Knowing what options a kernel was compiled with

Andreas Ehliar (ehliar@lysator.liu.se)
Sun, 28 Jan 2001 13:16:37 +0100


On Sun, Jan 28, 2001 at 04:29:06PM +1100, Keith Owens wrote:
> On Sun, 28 Jan 2001 00:13:48 -0500,
> "Matthew Pitts" <mpitts@suite224.net> wrote:
> >Some distributions DO include the config. It may be located
> >in the /boot dir with a name CONFIG-2.2.10 or similar. I
> >know that Caldera 2.3 shiped that way(2.4 may also). If you
> >have the install CDROM, the kernel source install may have
> >it (e.g. Linux-Mandrake 7.x).
>
> I know that some distributions ship .config but not all do. A long way
> down on my TODO list is "submit a requirement to FHS that .config,
> System.map and other kernel related text files must be shipped in
> directory <foo>". I would like <foo> to be /lib/modules/`uname -r`
> since that directory is already kernel specific, but we have to handle
> kernels without modules and disks with restricted size in /lib.
> However that discussion is best held on the FHS/LSB lists, not l-k.

Speaking of .config, wouldn't it make sense to add some comments to the
beginning of that file detailing at least the kernel version this config
file was generated for?
Other information like the time the file was generated could be useful as well.

regards
Andreas Ehliar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/