lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.2: /proc/config.gz
On Thu, Aug 31, 2000 at 02:46:36PM +0100, Alan Cox wrote:
> > where you overwrite your old kernel image with a new one without
> > rebooting instantly).
> >
> > But is it so much more expensive than a /proc/config.whatever ?
>
> Use that argument 50 times and your kernel has grown 100K. Unfortunately
> everyone keeps using the argument and forgetting the cumulative effect

i agree with Alan, and for more than just the above reason. One of
the rules of thumb where i work is "keep that sh*t out of our kernel!". i
don't see what the problem is with just putting the config file in a common
place and adding an extension to the end of it, ie
/boot/config-2.4.0-test1-dbg. And it works for the argument of different
kernel configs with the same kernel version. Since you will probably be
changing the EXTRAVERSION variable anyway (to differentiate between different
kernels, System.maps, and module dirs), just add the full version info to
the end of the name of the config file. A lot of distributions do it this
way, and i've never had problems with it.
As for the argument of putting it in the kernel being more robust and
idiot-proof, well, if someone can't keep three files and one directory
straight for each different configuration of the kernel that they want to
play with, they probably shouldn't be configuring and compiling kernels in
the first place. You can't idiot-proof the world, and even if you could, some
things really shouldn't be.

--
Nathan Paul Simons, Programmer for FSMLabs
http://www.fsmlabs.com/
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.123 / U:15.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site