[lkml]   [1996]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Possible /etc/kernel.conf?
On Tue, 14 May 1996, Hartmut Niemann wrote:

> > On Mon, 13 May 1996, Shinanyaku wrote:
> >
> > > You know. If a /proc/config existed, it could be used during kernel
> > > configuration also. An autoconfig would be only a script away.
> > >
> > > > I have implement this a long time ago but felt that people would consider
> > > > a kernel bloat. Any interest, I must have the patch somewhere.
> >
> > Well, it would be nice to have an /etc/kernel.conf file, actually. I'm not
> > sure how useful /proc/config would be, but it would be logical to make
> > /etc/kernel.conf a link to it. At the very least, it'd be highly useful to
> > take the basic kernel configuration out of the kernel source directory, at
> > least as some sort of option....
> >
> No, a _file_ /etc/kernel.conf is IMO a bad idea. Those who really need to know how a kernel
> was built usually have more than one kernel to boot, so this information must
> be stored _in_ the kernel image.

How about a file /etc/kernel.conf which contained all the kernel flag
strings. "CONFIG_SCSI" for example.


The kernel could contain a 'bitmap config' for each of these.

The Makefile could have a:

cat /etc/kernel.conf $(TOPDIR)/Config.symbols > /tmp/KConfig
sort -n -u KConfig > /etc/kernel.conf # remove duplicates

((a more decorated version of course))
which would track all new symbols, keeping only one copy of a symbol.

This would reduce bloat and still provide a complete desciption.

> > lilo
> +--+ Hartmut
> --
> Hartmut Niemann
> Zum Aussichtsturm 18 D-91080 Marloffstein

Pascal, n.: A programming language named after a man who would turn over in
his grave if he knew about it.

 \ /
  Last update: 2005-03-22 13:37    [W:0.040 / U:2.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site